MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / usage

Function usage

extra/perror.c:84–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82
83
84static void usage(void)
85{
86 print_version();
87 puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"));
88 printf("Print a description for a system error code or a MySQL error code.\n");
89 printf("If you want to get the error for a negative error code, you should use\n-- before the first error code to tell perror that there was no more options.\n\n");
90 printf("Usage: %s [OPTIONS] [ERRORCODE [ERRORCODE...]]\n",my_progname);
91 my_print_help(my_long_options);
92 my_print_variables(my_long_options);
93}
94
95
96static my_bool

Callers 3

get_one_optionFunction · 0.70
get_optionsFunction · 0.70
mainFunction · 0.50

Calls 3

my_print_helpFunction · 0.85
my_print_variablesFunction · 0.85
print_versionFunction · 0.70

Tested by

no test coverage detected