~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.cc

  • Committer: Brian Aker
  • Date: 2009-12-01 21:58:19 UTC
  • mto: (1237.3.2 push)
  • mto: This revision was merged to the branch mainline in revision 1236.
  • Revision ID: brian@gaz-20091201215819-y4ye7tiopu9a1sz1
Remove the need for trans/non-trans temp tables for lock conditions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2303
2303
  }
2304
2304
 
2305
2305
  new_tmp_table->reginfo.lock_type= TL_WRITE;    // Simulate locked
2306
 
  share->tmp_table= (new_tmp_table->cursor->has_transactions() ?
2307
 
                     TRANSACTIONAL_TMP_TABLE : NON_TRANSACTIONAL_TMP_TABLE);
 
2306
  share->tmp_table= TEMP_TABLE;
2308
2307
 
2309
2308
  if (link_in_list)
2310
2309
  {