~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/create_table.cc

  • Committer: Brian Aker
  • Date: 2010-03-04 08:33:14 UTC
  • mfrom: (1320.1.12 build)
  • Revision ID: brian@gaz-20100304083314-pscg89hdw618s2j5
Merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
 
74
74
 
75
75
  /* If CREATE TABLE of non-temporary table, do implicit commit */
76
 
  if (! lex_identified_temp_table)
 
76
  if (not lex_identified_temp_table)
77
77
  {
78
 
    if (! session->endActiveTransaction())
 
78
    if (not session->endActiveTransaction())
79
79
    {
80
80
      return true;
81
81
    }
167
167
      if ((result= new select_create(create_table,
168
168
                                     is_if_not_exists,
169
169
                                     &create_info,
170
 
                                     &create_table_proto,
 
170
                                     create_table_proto,
171
171
                                     &alter_info,
172
172
                                     select_lex->item_list,
173
173
                                     session->lex->duplicates,
196
196
                                   create_table, 
197
197
                                   select_tables,
198
198
                                   create_table_proto,
199
 
                                   create_info.db_type, 
200
199
                                   is_if_not_exists,
201
200
                                   is_engine_set);
202
201
    }
213
212
      res= mysql_create_table(session, 
214
213
                              new_table_identifier,
215
214
                              &create_info,
216
 
                              &create_table_proto,
 
215
                              create_table_proto,
217
216
                              &alter_info, 
218
217
                              false, 
219
218
                              0,
220
219
                              is_if_not_exists);
221
220
    }
222
 
    if (! res)
 
221
    if (not res)
223
222
    {
224
223
      session->my_ok();
225
224
    }