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

This commit is contained in:
unknown 2007-01-02 10:05:58 +01:00
parent 0968cc9dec
commit 5c34add98e

View file

@ -4806,7 +4806,7 @@ int ha_ndbcluster::create(const char *name,
if ((my_errno= create_ndb_column(col, field, info)))
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);
else
col.setStorageType(NdbDictionary::Column::StorageTypeMemory);