~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

merged with latest trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
900
900
    my_casedn_str(files_charset_info, table->db.str);
901
901
 
902
902
    SchemaIdentifier schema_identifier(string(table->db.str));
903
 
    if (not check_db_name(schema_identifier))
 
903
    if (not check_db_name(session, schema_identifier))
904
904
    {
905
905
 
906
906
      my_error(ER_WRONG_DB_NAME, MYF(0), table->db.str);