~mordred/drizzle/fix-bell-bugs

« back to all changes in this revision

Viewing changes to client/drizzledump.cc

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
2403
2403
    0 if error
2404
2404
*/
2405
2405
 
2406
 
static char *get_actual_table_name(const char *old_table_name, MEM_ROOT *root)
 
2406
static char *get_actual_table_name(const char *old_table_name,
 
2407
                                   drizzled::memory::Root *root)
2407
2408
{
2408
2409
  char *name= 0;
2409
2410
  drizzle_result_st result;
2441
2442
 
2442
2443
static int dump_selected_tables(char *db, char **table_names, int tables)
2443
2444
{
2444
 
  MEM_ROOT root;
 
2445
  drizzled::memory::Root root;
2445
2446
  char **dump_tables, **pos, **end;
2446
2447
  drizzle_result_st result;
2447
2448
  drizzle_return_t ret;
2450
2451
  if (init_dumping(db, init_dumping_tables))
2451
2452
    return(1);
2452
2453
 
2453
 
  init_alloc_root(&root, 8192, 0);
 
2454
  init_alloc_root(&root, 8192);
2454
2455
  if (!(dump_tables= pos= (char**) alloc_root(&root, tables * sizeof(char *))))
2455
2456
     die(EX_EOM, _("alloc_root failure."));
2456
2457