382
382
char frm_name[FN_REFLEN];
383
383
strxmov(frm_name, path, reg_ext, NULL);
384
if (mysql_create_frm(thd, frm_name, db, table_name, create_info,
384
if (mysql_create_frm(session, frm_name, db, table_name, create_info,
385
385
create_fields, keys, key_info, file))
389
389
// Make sure mysql_create_frm din't remove extension
390
390
assert(*fn_rext(frm_name));
392
392
create_info->options|= HA_CREATE_KEEP_FILES;
393
393
if (file->ha_create_handler_files(path, NULL, CHF_CREATE_FLAG, create_info))
395
if (!create_info->frm_only && ha_create_table(thd, path, db, table_name,
395
if (!create_info->frm_only && ha_create_table(session, path, db, table_name,