112
112
static bool opt_replace_into= false;
113
113
static bool opt_routines= false;
114
114
static bool opt_alltspcs= false;
115
static bool debug_info_flag= false;
116
static bool debug_check_flag= false;
117
115
static uint32_t show_progress_size= 0;
118
116
static uint64_t total_rows= 0;
119
117
static drizzle_st drizzle;
136
134
static char compatible_mode_normal_str[255];
137
135
static uint32_t opt_compatible_mode= 0;
138
136
static uint32_t opt_drizzle_port= 0;
139
static uint32_t my_end_arg;
140
137
static int first_error= 0;
141
138
static string extended_row;
142
139
FILE *md_result_file= 0;
203
200
"To dump several databases. Note the difference in usage; In this case no tables are given. All name arguments are regarded as databasenames. 'USE db_name;' will be included in the output.",
204
201
(char**) &opt_databases, (char**) &opt_databases, 0, GET_BOOL, NO_ARG, 0, 0,
206
{"debug-check", OPT_DEBUG_CHECK, "Check memory and open file usage at exit.",
207
(char**) &debug_check_flag, (char**) &debug_check_flag, 0,
208
GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
209
{"debug-info", OPT_DEBUG_INFO, "Print some debug info at exit.",
210
(char**) &debug_info_flag, (char**) &debug_info_flag,
211
0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
212
203
{"delayed-insert", OPT_DELAYED, "Insert rows with INSERT DELAYED; ",
213
204
(char**) &opt_delayed, (char**) &opt_delayed, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0,
685
676
if ((ho_error= handle_options(argc, argv, my_long_options, get_one_option)))
686
677
return(ho_error);
689
my_end_arg= MY_CHECK_ERROR | MY_GIVE_INFO;
690
if (debug_check_flag)
691
my_end_arg= MY_CHECK_ERROR;
693
679
if (!path && (enclosed || opt_enclosed || escaped || lines_terminated ||
694
680
fields_terminated))