public override void CrashedPointer(long pageId, GBPTreePointerType pointerType, long generationA, long readPointerA, long pointerA, sbyte stateA, long generationB, long readPointerB, long pointerB, sbyte stateB, File file) { ThrowTreeStructureInconsistency("Crashed pointer found in tree node %d, pointer: %s%n slotA[%s]%n slotB[%s]", pageId, pointerType.ToString(), StateToString(generationA, readPointerA, pointerA, stateA), StateToString(generationB, readPointerB, pointerB, stateB)); }
public override void PointerHasLowerGenerationThanNode(GBPTreePointerType pointerType, long sourceNode, long pointerGeneration, long pointer, long targetNodeGeneration, File file) { ThrowTreeStructureInconsistency("Pointer (%s) in tree node %d has pointer generation %d, but target node %d has a higher generation %d.", pointerType.ToString(), sourceNode, pointerGeneration, pointer, targetNodeGeneration); }