~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.cc

  • Committer: Brian Aker
  • Date: 2010-03-31 05:53:34 UTC
  • Revision ID: brian@gaz-20100331055334-yqqmzlgqb2xq1p5b
Mass overhaul to use schema_identifier.

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
    TableIdentifier identifier(first_table->db, first_table->table_name);
108
108
    if (plugin::StorageEngine::getTableDefinition(*session, identifier, original_table_message) != EEXIST)
109
109
    {
110
 
      my_error(ER_TABLE_EXISTS_ERROR, MYF(0), identifier.getSQLPath().c_str());
 
110
      my_error(ER_BAD_TABLE_ERROR, MYF(0), identifier.getSQLPath().c_str());
111
111
      return true;
112
112
    }
113
113
  }
1221
1221
      return true;
1222
1222
    }
1223
1223
 
1224
 
 
1225
1224
    pthread_mutex_unlock(&LOCK_open);
1226
1225
 
1227
1226
    session->set_proc_info("end");