mirror of
https://github.com/MariaDB/server.git
synced 2025-05-17 14:41:26 +03:00
bug #25296 Truncate table converts NDB disk based tables to in-memory tables: ha_ndbcluster::update_create_infohas to check for explicit STORAGE MEMORY
This commit is contained in:
parent
500918f2ab
commit
b448ad77c8
@ -8311,7 +8311,8 @@ ha_ndbcluster::setup_recattr(const NdbRecAttr* curr)
|
|||||||
|
|
||||||
void ha_ndbcluster::update_create_info(HA_CREATE_INFO *create_info)
|
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;
|
create_info->storage_media= HA_SM_DISK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user