Loading client/mysqltest.c +5 −0 Original line number Diff line number Diff line Loading @@ -2169,6 +2169,9 @@ static struct my_option my_long_options[] = { 0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0} }; #include <help_start.h> static void print_version(void) { printf("%s Ver %s Distrib %s, for %s (%s)\n",my_progname,MTEST_VERSION, Loading @@ -2187,6 +2190,8 @@ void usage() my_print_variables(my_long_options); } #include <help_end.h> static my_bool get_one_option(int optid, const struct my_option *opt __attribute__((unused)), Loading extra/my_print_defaults.c +5 −0 Original line number Diff line number Diff line Loading @@ -55,6 +55,9 @@ static struct my_option my_long_options[] = {0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0} }; #include <help_start.h> static void usage(my_bool version) { printf("%s Ver 1.6 for %s at %s\n",my_progname,SYSTEM_TYPE, Loading @@ -69,6 +72,8 @@ static void usage(my_bool version) printf("\nExample usage:\n%s --config-file=my client mysql\n", my_progname); } #include <help_end.h> static my_bool get_one_option(int optid, const struct my_option *opt __attribute__((unused)), Loading extra/perror.c +5 −0 Original line number Diff line number Diff line Loading @@ -113,12 +113,15 @@ static HA_ERRORS ha_errlist[]= }; #include <help_start.h> static void print_version(void) { printf("%s Ver %s, for %s (%s)\n",my_progname,PERROR_VERSION, SYSTEM_TYPE,MACHINE_TYPE); } static void usage(void) { print_version(); Loading @@ -130,6 +133,8 @@ static void usage(void) my_print_variables(my_long_options); } #include <help_end.h> static my_bool get_one_option(int optid, const struct my_option *opt __attribute__((unused)), Loading extra/resolve_stack_dump.c +5 −0 Original line number Diff line number Diff line Loading @@ -65,12 +65,16 @@ static struct my_option my_long_options[] = static void verify_sort(); #include <help_start.h> static void print_version(void) { printf("%s Ver %s Distrib %s, for %s (%s)\n",my_progname,DUMP_VERSION, MYSQL_SERVER_VERSION,SYSTEM_TYPE,MACHINE_TYPE); } static void usage() { print_version(); Loading @@ -87,6 +91,7 @@ The numeric-dump-file should contain a numeric stack trace from mysqld.\n\ If the numeric-dump-file is not given, the stack trace is read from stdin.\n"); } #include <help_end.h> static void die(const char* fmt, ...) Loading include/help_end.h +1 −0 Original line number Diff line number Diff line Loading @@ -2,5 +2,6 @@ #undef printf #undef puts #undef fputs #undef fputc #undef putchar #endif Loading
client/mysqltest.c +5 −0 Original line number Diff line number Diff line Loading @@ -2169,6 +2169,9 @@ static struct my_option my_long_options[] = { 0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0} }; #include <help_start.h> static void print_version(void) { printf("%s Ver %s Distrib %s, for %s (%s)\n",my_progname,MTEST_VERSION, Loading @@ -2187,6 +2190,8 @@ void usage() my_print_variables(my_long_options); } #include <help_end.h> static my_bool get_one_option(int optid, const struct my_option *opt __attribute__((unused)), Loading
extra/my_print_defaults.c +5 −0 Original line number Diff line number Diff line Loading @@ -55,6 +55,9 @@ static struct my_option my_long_options[] = {0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0} }; #include <help_start.h> static void usage(my_bool version) { printf("%s Ver 1.6 for %s at %s\n",my_progname,SYSTEM_TYPE, Loading @@ -69,6 +72,8 @@ static void usage(my_bool version) printf("\nExample usage:\n%s --config-file=my client mysql\n", my_progname); } #include <help_end.h> static my_bool get_one_option(int optid, const struct my_option *opt __attribute__((unused)), Loading
extra/perror.c +5 −0 Original line number Diff line number Diff line Loading @@ -113,12 +113,15 @@ static HA_ERRORS ha_errlist[]= }; #include <help_start.h> static void print_version(void) { printf("%s Ver %s, for %s (%s)\n",my_progname,PERROR_VERSION, SYSTEM_TYPE,MACHINE_TYPE); } static void usage(void) { print_version(); Loading @@ -130,6 +133,8 @@ static void usage(void) my_print_variables(my_long_options); } #include <help_end.h> static my_bool get_one_option(int optid, const struct my_option *opt __attribute__((unused)), Loading
extra/resolve_stack_dump.c +5 −0 Original line number Diff line number Diff line Loading @@ -65,12 +65,16 @@ static struct my_option my_long_options[] = static void verify_sort(); #include <help_start.h> static void print_version(void) { printf("%s Ver %s Distrib %s, for %s (%s)\n",my_progname,DUMP_VERSION, MYSQL_SERVER_VERSION,SYSTEM_TYPE,MACHINE_TYPE); } static void usage() { print_version(); Loading @@ -87,6 +91,7 @@ The numeric-dump-file should contain a numeric stack trace from mysqld.\n\ If the numeric-dump-file is not given, the stack trace is read from stdin.\n"); } #include <help_end.h> static void die(const char* fmt, ...) Loading
include/help_end.h +1 −0 Original line number Diff line number Diff line Loading @@ -2,5 +2,6 @@ #undef printf #undef puts #undef fputs #undef fputc #undef putchar #endif