|
1 | | -/* Copyright (c) 2000-2007 MySQL AB, 2009 Sun Microsystems, Inc. |
2 | | - Use is subject to license terms. |
| 1 | +/* |
| 2 | + Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. |
3 | 3 |
|
4 | 4 | This program is free software; you can redistribute it and/or modify |
5 | 5 | it under the terms of the GNU General Public License as published by |
@@ -89,6 +89,8 @@ So, we can read full search-structure as 32-bit word |
89 | 89 | #include "mysql_version.h" |
90 | 90 | #include "lex.h" |
91 | 91 |
|
| 92 | +#include <welcome_copyright_notice.h> /* ORACLE_WELCOME_COPYRIGHT_NOTICE */ |
| 93 | + |
92 | 94 | const char *default_dbug_option="d:t:o,/tmp/gen_lex_hash.trace"; |
93 | 95 |
|
94 | 96 | struct my_option my_long_options[] = |
@@ -348,9 +350,7 @@ static void usage(int version) |
348 | 350 | my_progname, MYSQL_SERVER_VERSION, SYSTEM_TYPE, MACHINE_TYPE); |
349 | 351 | if (version) |
350 | 352 | return; |
351 | | - puts("Copyright (C) 2001 MySQL AB, by VVA and Monty"); |
352 | | - puts("This software comes with ABSOLUTELY NO WARRANTY. This is free software,\n\ |
353 | | -and you are welcome to modify and redistribute it under the GPL license\n"); |
| 353 | + puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000, 2011")); |
354 | 354 | puts("This program generates a perfect hashing function for the sql_lex.cc"); |
355 | 355 | printf("Usage: %s [OPTIONS]\n\n", my_progname); |
356 | 356 | my_print_help(my_long_options); |
@@ -452,24 +452,9 @@ int main(int argc,char **argv) |
452 | 452 | /* Broken up to indicate that it's not advice to you, gentle reader. */ |
453 | 453 | printf("/*\n\n Do " "not " "edit " "this " "file " "directly!\n\n*/\n"); |
454 | 454 |
|
455 | | - printf("\ |
456 | | -/* Copyright (C) 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc.\n\ |
457 | | -\n\ |
458 | | - This program is free software; you can redistribute it and/or modify\n\ |
459 | | - it under the terms of the GNU General Public License as published by\n\ |
460 | | - the Free Software Foundation; version 2 of the License.\n\ |
461 | | -\n\ |
462 | | - This program is distributed in the hope that it will be useful,\n\ |
463 | | - but WITHOUT ANY WARRANTY; without even the implied warranty of\n\ |
464 | | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\ |
465 | | - GNU General Public License for more details.\n\ |
466 | | -\n\ |
467 | | - You should have received a copy of the GNU General Public License\n\ |
468 | | - along with this program; see the file COPYING. If not, write to the\n\ |
469 | | - Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston\n\ |
470 | | - MA 02110-1301 USA. */\n\ |
471 | | -\n\ |
472 | | -"); |
| 455 | + puts("/*"); |
| 456 | + puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000, 2011")); |
| 457 | + puts("*/"); |
473 | 458 |
|
474 | 459 | /* Broken up to indicate that it's not advice to you, gentle reader. */ |
475 | 460 | printf("/* Do " "not " "edit " "this " "file! This is generated by " |
|
0 commit comments