~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Brian Aker
  • Date: 2011-02-14 17:05:06 UTC
  • mto: (2170.1.1 alter-table)
  • mto: This revision was merged to the branch mainline in revision 2172.
  • Revision ID: brian@tangent.org-20110214170506-a5tm2g8hssjirfm6
Finalize interface for schema.

Show diffs side-by-side

added added

removed removed

Lines of Context:
224
224
 
225
225
    identifier::Schema identifier(tmp);
226
226
 
227
 
    if (not schema::change(session, identifier))
 
227
    if (not schema::change(*session, identifier))
228
228
    {
229
229
      session->my_ok();
230
230
    }
956
956
    my_casedn_str(files_charset_info, table->db.str);
957
957
 
958
958
    identifier::Schema schema_identifier(string(table->db.str));
959
 
    if (not check_db_name(session, schema_identifier))
 
959
    if (not schema::check(*session, schema_identifier))
960
960
    {
961
961
 
962
962
      my_error(ER_WRONG_DB_NAME, MYF(0), table->db.str);