~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/mysqlcheck.c

  • Committer: Monty Taylor
  • Date: 2008-07-05 10:49:39 UTC
  • mto: This revision was merged to the branch mainline in revision 62.
  • Revision ID: monty@inaugust.com-20080705104939-72e6upltbm3aq0lw
Changes so that client/ builds cleanly with no warnings.
Commented out -Wunreachable-code for now, because there is too much of it
with all the #ifdef'd members. We'll add it back in for a second pass over
the code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
184
184
static void print_version(void);
185
185
static void usage(void);
186
186
static int get_options(int *argc, char ***argv);
187
 
static int process_all_databases();
 
187
static int process_all_databases(void);
188
188
static int process_databases(char **db_names);
189
189
static int process_selected_tables(char *db, char **table_names, int tables);
190
190
static int process_all_tables_in_db(char *database);
195
195
static void dbDisconnect(char *host);
196
196
static void DBerror(MYSQL *mysql, const char *when);
197
197
static void safe_exit(int error);
198
 
static void print_result();
 
198
static void print_result(void);
199
199
static uint fixed_name_length(const char *name);
200
200
static char *fix_table_name(char *dest, char *src);
201
201
int what_to_do = 0;