~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/sql_table.cc

  • Committer: Brian Aker
  • Date: 2008-07-08 20:52:20 UTC
  • Revision ID: brian@tangent.org-20080708205220-jj590log4vjwhrge
Final cleanup on enum for MEMORY/DISK

Show diffs side-by-side

added added

removed removed

Lines of Context:
4725
4725
  else
4726
4726
    create_info->data_file_name=create_info->index_file_name=0;
4727
4727
 
4728
 
  if (new_db_type == old_db_type)
4729
 
  {
4730
 
    /*
4731
 
       Table has not changed storage engine.
4732
 
       If STORAGE and TABLESPACE have not been changed than copy them
4733
 
       from the original table
4734
 
    */
4735
 
    if (!create_info->tablespace &&
4736
 
        table->s->tablespace &&
4737
 
        create_info->default_storage_media == HA_SM_DEFAULT)
4738
 
      create_info->tablespace= table->s->tablespace;
4739
 
    if (create_info->default_storage_media == HA_SM_DEFAULT)
4740
 
      create_info->default_storage_media= table->s->default_storage_media;
4741
 
   }
4742
 
 
4743
4728
  /*
4744
4729
    Create a table with a temporary name.
4745
4730
    With create_info->frm_only == 1 this creates a .frm file only.