~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/drop_schema.cc

merged with latest trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    return true;
40
40
  }
41
41
  SchemaIdentifier schema_identifier(string(session->lex->name.str, session->lex->name.length));
42
 
  if (not check_db_name(schema_identifier))
 
42
  if (not check_db_name(session, schema_identifier))
43
43
  {
44
44
    my_error(ER_WRONG_DB_NAME, MYF(0), schema_identifier.getSQLPath().c_str());
45
45
    return false;