mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 18:09:30 +02:00
fcl-db: sqldb: Test for assigned AParams in LogParams to avoid AV. Bug #30662
git-svn-id: trunk@34573 -
This commit is contained in:
parent
fe99472d22
commit
cc100208c9
@ -1747,7 +1747,7 @@ Var
|
||||
P : TParam;
|
||||
|
||||
begin
|
||||
if not LogEvent(detParamValue) then
|
||||
if not LogEvent(detParamValue) or not Assigned(AParams) then
|
||||
Exit;
|
||||
For P in AParams do
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user