~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.cc

  • Committer: Mark Atwood
  • Date: 2011-11-14 07:30:41 UTC
  • Revision ID: me@mark.atwood.name-20111114073041-mo2hgg8ouseo2kpu
releaseĀ 2011.11.29

Show diffs side-by-side

added added

removed removed

Lines of Context:
238
238
  util::string::ptr schema(session->schema());
239
239
  if (ident)
240
240
  {
241
 
    session->lex().select_lex.db= ident;
 
241
    session->lex().select_lex.db= const_cast<char *>(ident);
242
242
 
243
243
    identifier::Schema identifier= str_ref(ident);
244
244
    if (not plugin::StorageEngine::doesSchemaExist(identifier))