summaryrefslogtreecommitdiff
path: root/sql/mysqld.cc
diff options
context:
space:
mode:
authorAlexander Nozdrin <alexander.nozdrin@oracle.com>2010-10-06 19:06:13 +0400
committerAlexander Nozdrin <alexander.nozdrin@oracle.com>2010-10-06 19:06:13 +0400
commit985fa88f8b07743dd3a848c11bc1d93b826d3d62 (patch)
tree2d57a45745e8d2ae04b3d8167ff5829aeb06a73f /sql/mysqld.cc
parent401e6c909caad8f4d43a28d02ef51264d08cab3a (diff)
downloadmariadb-git-985fa88f8b07743dd3a848c11bc1d93b826d3d62.tar.gz
Fix for Bug#57094 (Copyright notice incorrect?).
The fix is to: - introduce ORACLE_WELCOME_COPYRIGHT_NOTICE define to have a single place to specify copyright notice; - replace custom copyright notices with ORACLE_WELCOME_COPYRIGHT_NOTICE in programs.
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r--sql/mysqld.cc11
1 files changed, 4 insertions, 7 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 1ab335eb106..e43320f12a5 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -265,6 +265,8 @@ extern "C" sig_handler handle_segfault(int sig);
/* Constants */
+#include <welcome_copyright_notice.h> // ORACLE_WELCOME_COPYRIGHT_NOTICE
+
const char *show_comp_option_name[]= {"YES", "NO", "DISABLED"};
static const char *tc_heuristic_recover_names[]=
@@ -6593,13 +6595,8 @@ static void usage(void)
if (!default_collation_name)
default_collation_name= (char*) default_charset_info->name;
print_version();
- puts("\
-Copyright (C) 2000-2008 MySQL AB, by Monty and others.\n\
-Copyright (C) 2008,2009 Sun Microsystems, Inc.\n\
-This software comes with ABSOLUTELY NO WARRANTY. This is free software,\n\
-and you are welcome to modify and redistribute it under the GPL license\n\n\
-Starts the MySQL database server.\n");
-
+ puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000, 2010"));
+ puts("Starts the MySQL database server.\n");
printf("Usage: %s [OPTIONS]\n", my_progname);
if (!opt_verbose)
puts("\nFor more help options (several pages), use mysqld --verbose --help.");