~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sj_tmp_table.cc

  • Committer: Brian Aker
  • Date: 2009-04-09 15:03:26 UTC
  • mfrom: (971.1.44 mordred)
  • Revision ID: brian@gaz-20090409150326-cu50yn12esijpy1c
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
186
186
  uint32_t reclength= field->pack_length();
187
187
  if (using_unique_constraint)
188
188
  {
189
 
    share->db_plugin= ha_lock_engine(0, myisam_engine);
 
189
    share->storage_engine= myisam_engine;
190
190
    table->file= get_new_handler(share, &table->mem_root,
191
191
                                 share->db_type());
192
192
    assert(uniq_tuple_length_arg <= table->file->max_key_length());
193
193
  }
194
194
  else
195
195
  {
196
 
    share->db_plugin= ha_lock_engine(0, heap_engine);
 
196
    share->storage_engine= heap_engine;
197
197
    table->file= get_new_handler(share, &table->mem_root,
198
198
                                 share->db_type());
199
199
  }