Commit fe6baf9f authored by unknown's avatar unknown
Browse files

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


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
parent ca4d47dc
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -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;

  {
    /**
@@ -620,7 +621,7 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){
	    noOfAttributes);

    cfg.put(CFG_DICT_TABLE,
	    noOfMetaTables);
	    noOfMetaTablesDict);
  }