~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.cc

  • Committer: Brian Aker
  • Date: 2009-08-03 06:08:05 UTC
  • mfrom: (1106.1.5 memory-fix)
  • Revision ID: brian@gaz-20090803060805-fqaa2t3jejgwhwu2
Collection of Valgrind fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2514
2514
    field_count++;
2515
2515
    ++iter;
2516
2516
  }
2517
 
  Tmp_Table_Param *tmp_table_param= new Tmp_Table_Param;
 
2517
  Tmp_Table_Param *tmp_table_param =
 
2518
    (Tmp_Table_Param*) (session->alloc(sizeof(Tmp_Table_Param)));
 
2519
  tmp_table_param->init();
2518
2520
  tmp_table_param->table_charset= cs;
2519
2521
  tmp_table_param->field_count= field_count;
2520
2522
  tmp_table_param->schema_table= 1;