diff options
author | unknown <tomas@poseidon.ndb.mysql.com> | 2004-12-13 13:58:58 +0100 |
---|---|---|
committer | unknown <tomas@poseidon.ndb.mysql.com> | 2004-12-13 13:58:58 +0100 |
commit | fe6baf9f60c268adc971c4f628a3cc918ce32cfa (patch) | |
tree | ff750eebefeb35ba319172598245baf54cec1040 /ndb | |
parent | ca4d47dc086902c109259cc6e870a63616ed5c59 (diff) | |
download | mariadb-git-fe6baf9f60c268adc971c4f628a3cc918ce32cfa.tar.gz |
changed back to just restricting max meta objects in dict to make sure we can "always" configure ourselves out of unforseen limits
ndb/src/kernel/vm/Configuration.cpp:
changed back to just restricting mac meta objects in dict to make sure we can "always" confiure ourselves out of unforseen limits
Diffstat (limited to 'ndb')
-rw-r--r-- | ndb/src/kernel/vm/Configuration.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ndb/src/kernel/vm/Configuration.cpp b/ndb/src/kernel/vm/Configuration.cpp index 931b4da5a17..25b6ed272f9 100644 --- a/ndb/src/kernel/vm/Configuration.cpp +++ b/ndb/src/kernel/vm/Configuration.cpp @@ -609,8 +609,9 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){ Uint32 noOfMetaTables= noOfTables + noOfOrderedIndexes + noOfUniqueHashIndexes; - if (noOfMetaTables > MAX_TABLES) - noOfMetaTables= MAX_TABLES; + Uint32 noOfMetaTablesDict= noOfMetaTables; + if (noOfMetaTablesDict > MAX_TABLES) + noOfMetaTablesDict= MAX_TABLES; { /** @@ -619,8 +620,8 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){ cfg.put(CFG_DICT_ATTRIBUTE, noOfAttributes); - cfg.put(CFG_DICT_TABLE, - noOfMetaTables); + cfg.put(CFG_DICT_TABLE, + noOfMetaTablesDict); } |