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

This commit is contained in:
Ansgar Becker
2013-11-14 06:00:29 +00:00
parent fbb89d54ac
commit cef55b00bb

View File

@@ -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;