~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/subselect.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:
3057
3057
    - here we initialize only those members that are used by
3058
3058
      subselect_uniquesubquery_engine, so these objects are incomplete.
3059
3059
  */
3060
 
  tab= (JoinTable*) session->mem.alloc(sizeof(JoinTable));
3061
 
  new (tab) JoinTable();
 
3060
  tab= new (session->mem) JoinTable;
3062
3061
  tab->table= tmp_table;
3063
3062
  tab->ref.key= 0; /* The only temp table index. */
3064
3063
  tab->ref.key_length= tmp_key->key_length;