~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/show_create_schema.cc

  • Committer: Brian Aker
  • Date: 2010-08-18 16:12:58 UTC
  • mto: This revision was merged to the branch mainline in revision 1720.
  • Revision ID: brian@tangent.org-20100818161258-1vm71da888dfvwsx
Remove the code surrounding stack trace.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
{
36
36
  SchemaIdentifier schema_identifier(string(session->lex->name.str, session->lex->name.length));
37
37
 
38
 
  if (not check_db_name(schema_identifier))
 
38
  if (not check_db_name(session, schema_identifier))
39
39
  {
40
40
    my_error(ER_WRONG_DB_NAME, MYF(0), schema_identifier.getSQLPath().c_str());
41
41
    return false;