~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.cc

  • Committer: Brian Aker
  • Date: 2009-11-14 23:51:37 UTC
  • mfrom: (1217.1.2 staging)
  • Revision ID: brian@gaz-20091114235137-k8yrpjlmo9qj36w6
Remove open mode/dead bits around dead temp type.

Show diffs side-by-side

added added

removed removed

Lines of Context:
995
995
    /* table is a normal table: Create temporary table in same directory */
996
996
    build_table_filename(tmp_path, sizeof(tmp_path), new_db, tmp_name, true);
997
997
    /* Open our intermediate table */
998
 
    new_table= session->open_temporary_table(tmp_path, new_db, tmp_name, 0, OTM_OPEN);
 
998
    new_table= session->open_temporary_table(tmp_path, new_db, tmp_name, false);
999
999
  }
1000
1000
 
1001
1001
  if (new_table == NULL)
1150
1150
    char table_path[FN_REFLEN];
1151
1151
    Table *t_table;
1152
1152
    build_table_filename(table_path, sizeof(table_path), new_db, table_name, false);
1153
 
    t_table= session->open_temporary_table(table_path, new_db, tmp_name, false, OTM_OPEN);
 
1153
    t_table= session->open_temporary_table(table_path, new_db, tmp_name, false);
1154
1154
    if (t_table)
1155
1155
    {
1156
1156
      t_table->intern_close_table();