~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.cc

  • Committer: Olaf van der Spek
  • Date: 2011-11-09 19:27:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2457.
  • Revision ID: olafvdspek@gmail.com-20111109192744-xgu8uyi2f89ebwd1
Refactor

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