~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/table_read_plan.h

  • 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:
78
78
  /* Table read plans are allocated on memory::Root and are never deleted */
79
79
  static void *operator new(size_t size, memory::Root *mem_root)
80
80
  { 
81
 
    return (void*) alloc_root(mem_root, (uint32_t) size); 
 
81
    return (void*) mem_root->alloc_root((uint32_t) size); 
82
82
  }
83
83
 
84
84
  static void operator delete(void *, size_t)