~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/drop_schema.cc

  • Committer: Brian Aker
  • Date: 2011-01-04 22:27:38 UTC
  • mfrom: (2041.3.16 session-fix)
  • mto: This revision was merged to the branch mainline in revision 2055.
  • Revision ID: brian@tangent.org-20110104222738-4r3hrsxrlbuildrg
Merge in cleanup of error messages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
  SchemaIdentifier schema_identifier(string(session->lex->name.str, session->lex->name.length));
42
42
  if (not check_db_name(session, schema_identifier))
43
43
  {
44
 
    std::string path;
45
 
    schema_identifier.getSQLPath(path);
 
44
    my_error(ER_WRONG_DB_NAME, schema_identifier);
46
45
 
47
 
    my_error(ER_WRONG_DB_NAME, MYF(0), path.c_str());
48
46
    return false;
49
47
  }
50
48
  if (session->inTransaction())