~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzletest.cc

  • Committer: Stewart Smith
  • Date: 2009-12-02 05:17:48 UTC
  • mto: (1237.1.2 push)
  • mto: This revision was merged to the branch mainline in revision 1238.
  • Revision ID: stewart@flamingspork.com-20091202051748-vbyduoof36eaobul
remove final bits of my_end(MY_CHECK_ERROR) and associated code. Mostly all dead, would do the (now absent) my_print_open_files() which valgrind (or a simple LD_PRELOAD) does for us anyway..

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
static uint32_t opt_port= 0;
99
99
static int opt_max_connect_retries;
100
100
static bool silent= false, verbose= false;
101
 
static bool debug_info_flag= false, debug_check_flag= false;
 
101
static bool debug_info_flag= false;
102
102
static bool tty_password= false;
103
103
static bool opt_mark_progress= false;
104
104
static bool parsing_disabled= false;
4561
4561
   (char**) &opt_charsets_dir, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
4562
4562
  {"database", 'D', "Database to use.", (char**) &opt_db, (char**) &opt_db, 0,
4563
4563
   GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
4564
 
  {"debug-check", OPT_DEBUG_CHECK, "Check memory and open file usage at exit.",
4565
 
   (char**) &debug_check_flag, (char**) &debug_check_flag, 0,
4566
 
   GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
4567
4564
  {"debug-info", OPT_DEBUG_INFO, "Print some debug info at exit.",
4568
4565
   (char**) &debug_info_flag, (char**) &debug_info_flag,
4569
4566
   0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
4751
4748
  if (tty_password)
4752
4749
    opt_pass= client_get_tty_password(NULL);          /* purify tested */
4753
4750
  if (debug_info_flag)
4754
 
    my_end_arg= MY_CHECK_ERROR | MY_GIVE_INFO;
4755
 
  if (debug_check_flag)
4756
 
    my_end_arg= MY_CHECK_ERROR;
 
4751
    my_end_arg= MY_GIVE_INFO;
4757
4752
 
4758
4753
  return 0;
4759
4754
}