bug #25296 Truncate table converts NDB disk based tables to in-memory tables:...

bug #25296  Truncate table converts NDB disk based tables to in-memory tables: ha_ndbcluster::update_create_infohas to check for explicit STORAGE MEMORY
parent 500918f2
......@@ -8311,7 +8311,8 @@ ha_ndbcluster::setup_recattr(const NdbRecAttr* curr)
void ha_ndbcluster::update_create_info(HA_CREATE_INFO *create_info)
{
if (get_tablespace_name(current_thd,0,0))
if (create_info->storage_media != HA_SM_MEMORY &&
get_tablespace_name(current_thd,0,0))
create_info->storage_media= HA_SM_DISK;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment