From cef55b00bbc9dea9a956d5de999722644f3a83d7 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Thu, 14 Nov 2013 06:00:29 +0000 Subject: [PATCH] Log debug message with NodeDataSize and current size of Pointer, for finding out the cause of what's reported on http://www.heidisql.com/forum.php?t=13962#p13983 --- source/main.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/source/main.pas b/source/main.pas index 396faac4..5da7f682 100644 --- a/source/main.pas +++ b/source/main.pas @@ -4826,6 +4826,7 @@ end; procedure TMainForm.AnyGridGetNodeDataSize(Sender: TBaseVirtualTree; var NodeDataSize: Integer); begin NodeDataSize := SizeOf(Cardinal); + LogSQL('NodeDataSize of '+Sender.Name+': '+IntToStr(NodeDataSize)+', must not be smaller than Pointer size: '+IntToStr(SizeOf(Pointer)), lcDebug); end;