1319
1320
uint db_options, key_count;
1324
1324
bool lex_identified_temp_table=
1327
1327
/* Check for duplicate fields and check type of table to create */
1330
1330
my_message(ER_TABLE_MUST_HAVE_COLUMNS, ER(ER_TABLE_MUST_HAVE_COLUMNS),
1335
1335
db_options= create_info->table_options;
1336
1337
if (create_info->row_type == ROW_TYPE_DYNAMIC)
1337
1338
db_options|=HA_OPTION_PACK_RECORD;
1344
1340
set_table_default_charset(create_info, identifier.getDBName());
1346
1342
/* Check if table exists */
1347
1343
if (mysql_prepare_create_table(session, create_info, table_proto, alter_info,
1350
1346
&key_info_buffer, &key_count,