diff options
author | Luis Soares <luis.soares@oracle.com> | 2011-07-11 17:11:41 +0100 |
---|---|---|
committer | Luis Soares <luis.soares@oracle.com> | 2011-07-11 17:11:41 +0100 |
commit | cc17ce723aa4254b7e58b2c5b6e8b0c6b6278f42 (patch) | |
tree | bb28221d42b8711c9438f33c299e88482ecf208b /include/welcome_copyright_notice.h | |
parent | f094b48da4041dff886cbcaa19180e48b18813e1 (diff) | |
download | mariadb-git-cc17ce723aa4254b7e58b2c5b6e8b0c6b6278f42.tar.gz |
BUG#12695969: FIX OUTDATED COPYRIGHT NOTICES IN REPLACTION
CLIENT TOOLS
The fix is to backport part of revision:
- alexander.nozdrin@oracle.com-20101006150613-ls60rb2tq5dpyb5c
from mysql-5.5. In detail, we add the oracle welcome notice
header file proposed in the original patch and include/use it
in client/mysqlbinlog.cc, replacing the existing and obsolete
notice.
Diffstat (limited to 'include/welcome_copyright_notice.h')
-rw-r--r-- | include/welcome_copyright_notice.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/welcome_copyright_notice.h b/include/welcome_copyright_notice.h new file mode 100644 index 00000000000..5a96da4ceb4 --- /dev/null +++ b/include/welcome_copyright_notice.h @@ -0,0 +1,31 @@ +/* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ + +#ifndef _welcome_copyright_notice_h_ +#define _welcome_copyright_notice_h_ + +/* + This define specifies copyright notice which is displayed by every MySQL + program on start, or on help screen. +*/ + +#define ORACLE_WELCOME_COPYRIGHT_NOTICE(years) \ + "Copyright (c) " years ", Oracle and/or its affiliates. All rights reserved.\n" \ + "\n" \ + "Oracle is a registered trademark of Oracle Corporation and/or its\n" \ + "affiliates. Other names may be trademarks of their respective\n" \ + "owners.\n" + +#endif /* _welcome_copyright_notice_h_ */ |