~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/create_schema.cc

  • Committer: Brian Aker
  • Date: 2011-01-17 23:44:48 UTC
  • mfrom: (2088.1.5 drizzle-build)
  • Revision ID: brian@tangent.org-20110117234448-0tt6rd6fxa3csdaf
Rollup of all changes for identifier/error

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    return true;
44
44
  }
45
45
 
46
 
  SchemaIdentifier schema_identifier(string(session->lex->name.str, session->lex->name.length));
 
46
  identifier::Schema schema_identifier(string(session->lex->name.str, session->lex->name.length));
47
47
  if (not check(schema_identifier))
48
48
    return false;
49
49
 
71
71
  return not res;
72
72
}
73
73
 
74
 
bool statement::CreateSchema::check(const SchemaIdentifier &identifier)
 
74
bool statement::CreateSchema::check(const identifier::Schema &identifier)
75
75
{
76
76
  if (not identifier.isValid())
77
77
    return false;