From 1bdb7f7789f4c1b02a97210e3818d49f6e064bc2 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 9 May 2006 11:55:41 +0200 Subject: bug #19623 UniqueHashIndexes resource leak: allocate array pool based on MaxNoOfTables --- ndb/src/kernel/blocks/dbtc/DbtcInit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ndb') diff --git a/ndb/src/kernel/blocks/dbtc/DbtcInit.cpp b/ndb/src/kernel/blocks/dbtc/DbtcInit.cpp index f99b4bf15af..2b1f079ea17 100644 --- a/ndb/src/kernel/blocks/dbtc/DbtcInit.cpp +++ b/ndb/src/kernel/blocks/dbtc/DbtcInit.cpp @@ -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); -- cgit v1.2.1