bug #19623 UniqueHashIndexes resource leak: allocate array pool based on MaxNoOfTables

This commit is contained in:
mskold@mysql.com 2006-05-09 11:55:41 +02:00
parent 0928ae9bf4
commit f1fb5b9f34

View File

@ -190,7 +190,7 @@ Dbtc::Dbtc(const class Configuration & conf):
ndb_mgm_get_int_parameter(p, CFG_DB_TRANS_BUFFER_MEM,
&transactionBufferMemory);
ndb_mgm_get_int_parameter(p, CFG_DB_NO_UNIQUE_HASH_INDEXES,
ndb_mgm_get_int_parameter(p, CFG_DICT_TABLE,
&maxNoOfIndexes);
ndb_mgm_get_int_parameter(p, CFG_DB_NO_INDEX_OPS,
&maxNoOfConcurrentIndexOperations);