~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/create_schema.cc

  • Committer: Brian Aker
  • Date: 2009-09-24 06:23:51 UTC
  • mfrom: (1128.2.12 merge)
  • Revision ID: brian@gaz-20090924062351-nuf8tv8ftg7oc9ad
Merge of Lex -> Statement refactoring

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
bool statement::CreateSchema::execute()
29
29
{
30
 
  /*
31
 
   * As mysql_create_db() may modify HA_CREATE_INFO structure passed to
32
 
   * it, we need to use a copy of LEX::create_info to make execution
33
 
   * prepared statement- safe.
34
 
   */
35
 
  HA_CREATE_INFO create_info(session->lex->create_info);
36
30
  if (! session->endActiveTransaction())
37
31
  {
38
32
    return true;