mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 21:11:23 +02:00
* Fix prepare without parameters
git-svn-id: trunk@43003 -
This commit is contained in:
parent
671e3ddec7
commit
f4921daee6
@ -947,8 +947,10 @@ begin
|
|||||||
end;
|
end;
|
||||||
FPrepared := True;
|
FPrepared := True;
|
||||||
end
|
end
|
||||||
|
else if Assigned(AParams) then
|
||||||
|
Statement := AParams.ParseSQL(buf,false,sqEscapeSlash in ConnOptions, sqEscapeRepeat in ConnOptions,psPostgreSQL)
|
||||||
else
|
else
|
||||||
Statement := AParams.ParseSQL(buf,false,sqEscapeSlash in ConnOptions, sqEscapeRepeat in ConnOptions,psPostgreSQL);
|
Statement:=Buf;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user