Commit 5c34add9 authored by unknown's avatar unknown

bug#24667 After ALTER TABLE operation ndb_dd table becomes regular ndb:...

bug#24667  After ALTER TABLE operation ndb_dd table becomes regular ndb: removed use of environment variable NDB_DEFAULT_DISK


parent 0968cc9d
...@@ -4806,7 +4806,7 @@ int ha_ndbcluster::create(const char *name, ...@@ -4806,7 +4806,7 @@ int ha_ndbcluster::create(const char *name,
if ((my_errno= create_ndb_column(col, field, info))) if ((my_errno= create_ndb_column(col, field, info)))
DBUG_RETURN(my_errno); DBUG_RETURN(my_errno);
if (info->storage_media == HA_SM_DISK || getenv("NDB_DEFAULT_DISK")) if (info->storage_media == HA_SM_DISK)
col.setStorageType(NdbDictionary::Column::StorageTypeDisk); col.setStorageType(NdbDictionary::Column::StorageTypeDisk);
else else
col.setStorageType(NdbDictionary::Column::StorageTypeMemory); col.setStorageType(NdbDictionary::Column::StorageTypeMemory);
......
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