~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_schema.cc

  • Committer: Brian Aker
  • Date: 2011-01-17 23:44:48 UTC
  • mfrom: (2088.1.5 drizzle-build)
  • Revision ID: brian@tangent.org-20110117234448-0tt6rd6fxa3csdaf
Rollup of all changes for identifier/error

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
  if (not validateSchemaOptions())
42
42
    return true;
43
43
 
44
 
  SchemaIdentifier schema_identifier(string(db->str, db->length));
 
44
  identifier::Schema schema_identifier(string(db->str, db->length));
45
45
 
46
46
  if (not check_db_name(session, schema_identifier))
47
47
  {
50
50
    return false;
51
51
  }
52
52
 
53
 
  SchemaIdentifier identifier(db->str);
 
53
  identifier::Schema identifier(db->str);
54
54
  if (not plugin::StorageEngine::getSchemaDefinition(identifier, old_definition))
55
55
  {
56
56
    my_error(ER_SCHEMA_DOES_NOT_EXIST, identifier);