1630
1630
if ((error= table2myisam(table_arg, &keydef, &recinfo, &create_records)))
1631
1631
return(error); /* purecov: inspected */
1632
1632
memset(&create_info, 0, sizeof(create_info));
1635
1635
create_info.with_auto_increment= share->next_number_key_offset == 0;
1636
1636
create_info.auto_increment= (ha_create_info->auto_increment_value ?
1637
1637
ha_create_info->auto_increment_value -1 :
1641
1641
create_info.data_file_name= ha_create_info->data_file_name;
1642
1642
create_info.index_file_name= ha_create_info->index_file_name;
1643
1643
create_info.language= share->table_charset->number;