~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump.cc

  • Committer: Brian Aker
  • Date: 2010-04-19 17:51:52 UTC
  • Revision ID: brian@gaz-20100419175152-lar9fncw9vhhav0d
Updates to confine memroot

Show diffs side-by-side

added added

removed removed

Lines of Context:
2453
2453
    return(1);
2454
2454
 
2455
2455
  init_alloc_root(&root, 8192);
2456
 
  if (!(dump_tables= pos= (char**) alloc_root(&root, tables * sizeof(char *))))
 
2456
  if (!(dump_tables= pos= (char**) root.alloc_root(tables * sizeof(char *))))
2457
2457
    die(EX_EOM, _("alloc_root failure."));
2458
2458
 
2459
2459
  for (; tables > 0 ; tables-- , table_names++)