~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/create_table.cc

  • Committer: Brian Aker
  • Date: 2009-11-19 02:33:17 UTC
  • mto: (1222.1.2 staging)
  • mto: This revision was merged to the branch mainline in revision 1224.
  • Revision ID: brian@gaz-20091119023317-lylyqkwhrewid34p
Remove a few more options, from options in HA_CREATE_INFO.

Show diffs side-by-side

added added

removed removed

Lines of Context:
156
156
         needs to be created for every execution of a PS/SP.
157
157
       */
158
158
      if ((result= new select_create(create_table,
 
159
                                     is_if_not_exists,
159
160
                                     &create_info,
160
161
                                     &create_table_proto,
161
162
                                     &alter_info,
180
181
  else
181
182
  {
182
183
    /* regular create */
183
 
    if (create_info.options & HA_LEX_CREATE_TABLE_LIKE)
 
184
    if (is_create_table_like)
184
185
    {
185
186
      res= mysql_create_like_table(session, 
186
187
                                   create_table, 
187
188
                                   select_tables,
188
189
                                   create_table_proto,
189
 
                                   &create_info);
 
190
                                   &create_info, 
 
191
                                   is_if_not_exists);
190
192
    }
191
193
    else
192
194
    {
205
207
                              &create_table_proto,
206
208
                              &alter_info, 
207
209
                              0, 
208
 
                              0);
 
210
                              0,
 
211
                              is_if_not_exists);
209
212
    }
210
213
    if (! res)
211
214
    {