Skip to content

Commit c298e08

Browse files
author
Nirbhay Choubey
committed
Merge of patch for Bug#13928675 from mysql-5.5.
2 parents 6a44f53 + fb69797 commit c298e08

16 files changed

Lines changed: 35 additions & 33 deletions

client/mysql.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1303,7 +1303,7 @@ int main(int argc,char *argv[])
13031303
mysql_thread_id(&mysql), server_version_string(&mysql));
13041304
put_info((char*) glob_buffer.ptr(),INFO_INFO);
13051305

1306-
put_info(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000, 2012"), INFO_INFO);
1306+
put_info(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"), INFO_INFO);
13071307

13081308
#ifdef HAVE_READLINE
13091309
initialize_readline((char*) my_progname);
@@ -1746,7 +1746,7 @@ static void usage(int version)
17461746

17471747
if (version)
17481748
return;
1749-
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000, 2012"));
1749+
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"));
17501750
printf("Usage: %s [OPTIONS] [database]\n", my_progname);
17511751
my_print_help(my_long_options);
17521752
print_defaults("my", load_default_groups);

client/mysql_upgrade.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ get_one_option(int optid, const struct my_option *opt,
247247
case '?':
248248
printf("%s Ver %s Distrib %s, for %s (%s)\n",
249249
my_progname, VER, MYSQL_SERVER_VERSION, SYSTEM_TYPE, MACHINE_TYPE);
250-
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000, 2012"));
250+
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"));
251251
puts("MySQL utility for upgrading databases to new MySQL versions.\n");
252252
my_print_help(my_long_options);
253253
exit(0);

client/mysqladmin.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ static int execute_commands(MYSQL *mysql,int argc, char **argv)
720720
case ADMIN_VER:
721721
new_line=1;
722722
print_version();
723-
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000, 2012"));
723+
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"));
724724
printf("Server version\t\t%s\n", mysql_get_server_info(mysql));
725725
printf("Protocol version\t%d\n", mysql_get_proto_info(mysql));
726726
printf("Connection\t\t%s\n",mysql_get_host_info(mysql));
@@ -1118,7 +1118,7 @@ static void print_version(void)
11181118
static void usage(void)
11191119
{
11201120
print_version();
1121-
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000, 2012"));
1121+
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"));
11221122
puts("Administration program for the mysqld daemon.");
11231123
printf("Usage: %s [OPTIONS] command command....\n", my_progname);
11241124
my_print_help(my_long_options);

client/mysqlbinlog.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1508,7 +1508,7 @@ static void print_version()
15081508
static void usage()
15091509
{
15101510
print_version();
1511-
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000, 2012"));
1511+
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"));
15121512
printf("\
15131513
Dumps a MySQL binary log in a format usable for viewing or for piping to\n\
15141514
the mysql command line client.\n\n");

client/mysqlcheck.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ static void print_version(void)
229229
static void usage(void)
230230
{
231231
print_version();
232-
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000, 2012"));
232+
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"));
233233
puts("This program can be used to CHECK (-c, -m, -C), REPAIR (-r), ANALYZE (-a),");
234234
puts("or OPTIMIZE (-o) tables. Some of the options (like -e or -q) can be");
235235
puts("used at the same time. Not all options are supported by all storage engines.");

client/mysqldump.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@
5656

5757
#include <welcome_copyright_notice.h> /* ORACLE_WELCOME_COPYRIGHT_NOTICE */
5858

59-
#include <welcome_copyright_notice.h> /* ORACLE_WELCOME_COPYRIGHT_NOTICE */
60-
6159
/* Exit codes */
6260

6361
#define EX_USAGE 1
@@ -622,7 +620,7 @@ static void short_usage_sub(void)
622620
static void usage(void)
623621
{
624622
print_version();
625-
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000, 2012"));
623+
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"));
626624
puts("Dumping structure and contents of MySQL databases and tables.");
627625
short_usage_sub();
628626
print_defaults("my",load_default_groups);

client/mysqlimport.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ pthread_mutex_t counter_mutex;
3939
pthread_cond_t count_threshhold;
4040
#endif
4141

42-
#include <welcome_copyright_notice.h> /* ORACLE_WELCOME_COPYRIGHT_NOTICE */
43-
4442
static void db_error_with_table(MYSQL *mysql, char *table);
4543
static void db_error(MYSQL *mysql);
4644
static char *field_escape(char *to,const char *from,uint length);
@@ -204,7 +202,7 @@ static void print_version(void)
204202
static void usage(void)
205203
{
206204
print_version();
207-
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000, 2012"));
205+
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"));
208206
printf("\
209207
Loads tables from text files in various formats. The base name of the\n\
210208
text file must be the name of the table that should be used.\n\

client/mysqlshow.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ static void print_version(void)
281281
static void usage(void)
282282
{
283283
print_version();
284-
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000, 2012)"));
284+
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"));
285285
puts("Shows the structure of a MySQL database (databases, tables, and columns).\n");
286286
printf("Usage: %s [OPTIONS] [database [table [column]]]\n",my_progname);
287287
puts("\n\

client/mysqlslap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ static void print_version(void)
721721
static void usage(void)
722722
{
723723
print_version();
724-
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2005, 2012"));
724+
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2005"));
725725
puts("Run a query multiple times against the server.\n");
726726
printf("Usage: %s [OPTIONS]\n",my_progname);
727727
print_defaults("my",load_default_groups);

client/mysqltest.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6671,7 +6671,7 @@ void print_version(void)
66716671
void usage()
66726672
{
66736673
print_version();
6674-
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000, 2012"));
6674+
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"));
66756675
printf("Runs a test against the mysql server and compares output with a results file.\n\n");
66766676
printf("Usage: %s [OPTIONS] [database] < test_file\n", my_progname);
66776677
my_print_help(my_long_options);

0 commit comments

Comments
 (0)