~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/change_schema.cc

  • Committer: Brian Aker
  • Date: 2010-03-31 05:53:34 UTC
  • Revision ID: brian@gaz-20100331055334-yqqmzlgqb2xq1p5b
Mass overhaul to use schema_identifier.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
{
36
36
  Select_Lex *select_lex= &session->lex->select_lex;
37
37
 
38
 
  if (not mysql_change_db(session, select_lex->db))
 
38
  SchemaIdentifier identifier(select_lex->db);
 
39
  if (not mysql_change_db(session, identifier))
39
40
  {
40
41
    session->my_ok();
41
42
  }