~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/quick_ror_union_select.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:
72
72
    new priority_queue<optimizer::QuickSelectInterface *,
73
73
                       vector<optimizer::QuickSelectInterface *>,
74
74
                       optimizer::compare_functor >(optimizer::compare_functor(this));
75
 
  if (! (cur_rowid= (unsigned char*) alloc_root(&alloc, 2*head->cursor->ref_length)))
 
75
  if (! (cur_rowid= (unsigned char*) alloc.alloc_root(2 * head->cursor->ref_length)))
76
76
  {
77
77
    return 0;
78
78
  }