~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.cc

  • Committer: Stewart Smith
  • Date: 2009-06-16 01:13:51 UTC
  • mto: This revision was merged to the branch mainline in revision 1071.
  • Revision ID: stewart@flamingspork.com-20090616011351-mgekial7126c0jsn
Preserve temp table status across ALTER TABLE

Show diffs side-by-side

added added

removed removed

Lines of Context:
3851
3851
    create_info->db_type= old_db_type;
3852
3852
  }
3853
3853
 
 
3854
  if(table->s->tmp_table != NO_TMP_TABLE)
 
3855
    create_info->options|= HA_LEX_CREATE_TMP_TABLE;
 
3856
 
3854
3857
  if (check_engine(session, new_name, create_info))
3855
3858
    goto err;
3856
3859
  new_db_type= create_info->db_type;