~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/quick_ror_union_select.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-22 17:21:46 UTC
  • mto: This revision was merged to the branch mainline in revision 2347.
  • Revision ID: olafvdspek@gmail.com-20110622172146-fmtxxu9xt3ddmnm5
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
 
70
70
int optimizer::QuickRorUnionSelect::init()
71
71
{
72
 
  queue= new priority_queue<QuickSelectInterface*, vector<QuickSelectInterface*>,  compare_functor>(compare_functor(this));
73
 
  cur_rowid= (unsigned char*) alloc.alloc(2 * head->cursor->ref_length);
 
72
  queue= new priority_queue<QuickSelectInterface*, vector<QuickSelectInterface*>, compare_functor>(compare_functor(this));
 
73
  cur_rowid= alloc.alloc(2 * head->cursor->ref_length);
74
74
  prev_rowid= cur_rowid + head->cursor->ref_length;
75
75
  return 0; // return void
76
76
}