~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/join.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-22 21:57:14 UTC
  • mto: This revision was merged to the branch mainline in revision 2348.
  • Revision ID: olafvdspek@gmail.com-20110622215714-0wmhwrx6of27etov
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
4526
4526
  }
4527
4527
  if (!join->join_tab_reexec)
4528
4528
  {
4529
 
    join->join_tab_reexec= (JoinTable*) join->session->mem.alloc(sizeof(JoinTable));
4530
 
    new (join->join_tab_reexec) JoinTable();
 
4529
    join->join_tab_reexec= new (join->session->mem) JoinTable;
4531
4530
    if (join->tmp_join)
4532
4531
      join->tmp_join->join_tab_reexec= join->join_tab_reexec;
4533
4532
  }