mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Avoid a follow-up AV when seeing unknown data types.
This commit is contained in:
@@ -4942,7 +4942,7 @@ begin
|
||||
background := clInfoBK;
|
||||
afont.Color := clInfoText;
|
||||
end;
|
||||
if field.IsNull then background := mainform.DataNullBackground;
|
||||
if (field <> nil) and field.IsNull then background := mainform.DataNullBackground;
|
||||
end;
|
||||
|
||||
procedure TMDIChild.DBMemo1Exit(Sender: TObject);
|
||||
|
||||
Reference in New Issue
Block a user