~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_schema.cc

  • Committer: Brian Aker
  • Date: 2010-11-28 20:44:02 UTC
  • mfrom: (1954.2.4 alter-table)
  • Revision ID: brian@tangent.org-20101128204402-e6ab9fucshilci81
Merge in table identifier work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
 
46
46
  if (not check_db_name(session, schema_identifier))
47
47
  {
48
 
    my_error(ER_WRONG_DB_NAME, MYF(0), schema_identifier.getSQLPath().c_str());
 
48
    std::string path;
 
49
    schema_identifier.getSQLPath(path);
 
50
    my_error(ER_WRONG_DB_NAME, MYF(0), path.c_str());
 
51
 
49
52
    return false;
50
53
  }
51
54