Commit 81e15b49 authored by unknown's avatar unknown
Browse files

BUG#25992 Data nodes died during creating many tables based on different tablespaces.


storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
  Because TableSpaces, Datafiles, Undofiles and LogfileGroups uses the same id-space with Tables,
  when they are created, the objId allocated for TableSpaces, Datafiles, Undofiles and LogfileGroups 
  shouldn't satisfy the rule of (tableId < c_tableRecordPool.getSize()).
parent e716434c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1090,7 +1090,6 @@ Dbdict::updateSchemaState(Signal* signal, Uint32 tableId,
			  SchemaFile::TableEntry* te, Callback* callback,
                          bool savetodisk){
  jam();
  ndbrequire(tableId < c_tableRecordPool.getSize());
  XSchemaFile * xsf = &c_schemaFile[c_schemaRecord.schemaPage != 0];
  SchemaFile::TableEntry * tableEntry = getTableEntry(xsf, tableId);