~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/change_schema.cc

  • Committer: Mark Atwood
  • Date: 2011-10-19 00:10:47 UTC
  • mfrom: (2440.2.13 rf)
  • Revision ID: me@mark.atwood.name-20111019001047-atj0u8gedphon1tb
mergeĀ lp:~olafvdspek/drizzle/refactor5

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();