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){
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);
}
......
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