summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2004-12-13 13:58:58 +0100
committerunknown <tomas@poseidon.ndb.mysql.com>2004-12-13 13:58:58 +0100
commitfe6baf9f60c268adc971c4f628a3cc918ce32cfa (patch)
treeff750eebefeb35ba319172598245baf54cec1040 /ndb
parentca4d47dc086902c109259cc6e870a63616ed5c59 (diff)
downloadmariadb-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.cpp9
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);
}