changed back to just restricting max meta objects in dict to make sure we can...

changed back to just restricting max meta objects in dict to make sure we can "always" configure ourselves out of unforseen limits
parent e45f8857
...@@ -609,8 +609,9 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){ ...@@ -609,8 +609,9 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){
Uint32 noOfMetaTables= noOfTables + noOfOrderedIndexes + Uint32 noOfMetaTables= noOfTables + noOfOrderedIndexes +
noOfUniqueHashIndexes; noOfUniqueHashIndexes;
if (noOfMetaTables > MAX_TABLES) Uint32 noOfMetaTablesDict= noOfMetaTables;
noOfMetaTables= MAX_TABLES; if (noOfMetaTablesDict > MAX_TABLES)
noOfMetaTablesDict= MAX_TABLES;
{ {
/** /**
...@@ -619,8 +620,8 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){ ...@@ -619,8 +620,8 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){
cfg.put(CFG_DICT_ATTRIBUTE, cfg.put(CFG_DICT_ATTRIBUTE,
noOfAttributes); noOfAttributes);
cfg.put(CFG_DICT_TABLE, cfg.put(CFG_DICT_TABLE,
noOfMetaTables); noOfMetaTablesDict);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment