MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
welcome_copyright_notice.h
1 /* Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
2 
3  This program is free software; you can redistribute it and/or modify
4  it under the terms of the GNU General Public License as published by
5  the Free Software Foundation; version 2 of the License.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  GNU General Public License for more details.
11 
12  You should have received a copy of the GNU General Public License
13  along with this program; if not, write to the Free Software
14  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
15 
16 #ifndef _welcome_copyright_notice_h_
17 #define _welcome_copyright_notice_h_
18 
19 #define COPYRIGHT_NOTICE_CURRENT_YEAR "2013"
20 
21 /*
22  This define specifies copyright notice which is displayed by every MySQL
23  program on start, or on help screen.
24 */
25 #define ORACLE_WELCOME_COPYRIGHT_NOTICE(first_year) \
26  (strcmp(first_year, COPYRIGHT_NOTICE_CURRENT_YEAR) ? \
27  "Copyright (c) " first_year ", " COPYRIGHT_NOTICE_CURRENT_YEAR ", " \
28  "Oracle and/or its affiliates. All rights reserved.\n\nOracle is a " \
29  "registered trademark of Oracle Corporation and/or its\naffiliates. " \
30  "Other names may be trademarks of their respective\nowners.\n" : \
31  "Copyright (c) " first_year ", Oracle and/or its affiliates. " \
32  "All rights reserved.\n\nOracle is a registered trademark of " \
33  "Oracle Corporation and/or its\naffiliates. Other names may be " \
34  "trademarks of their respective\nowners.\n")
35 
36 #endif /* _welcome_copyright_notice_h_ */