~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/change_schema.cc

  • Committer: Olaf van der Spek
  • Date: 2011-10-18 13:52:19 UTC
  • mto: This revision was merged to the branch mainline in revision 2443.
  • Revision ID: olafvdspek@gmail.com-20111018135219-vn5xhy8pvumotthk
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
bool statement::ChangeSchema::execute()
35
35
{
36
 
  Select_Lex *select_lex= &lex().select_lex;
37
 
 
38
 
  identifier::Schema identifier(select_lex->db);
 
36
  identifier::Schema identifier(str_ref(lex().select_lex.db));
39
37
  if (not schema::change(session(), identifier))
40
38
  {
41
39
    session().my_ok();