~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_list.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:
44
44
  if (table)
45
45
  {
46
46
    if (!table->insert_values &&
47
 
        !(table->insert_values= (unsigned char *)alloc_root(mem_root,
48
 
                                                   table->s->rec_buff_length)))
 
47
        !(table->insert_values= (unsigned char *)mem_root->alloc_root(table->s->rec_buff_length)))
49
48
      return true;
50
49
  }
51
50