mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 10:48:30 +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;
|
||||
FPrepared := True;
|
||||
end
|
||||
else if Assigned(AParams) then
|
||||
Statement := AParams.ParseSQL(buf,false,sqEscapeSlash in ConnOptions, sqEscapeRepeat in ConnOptions,psPostgreSQL)
|
||||
else
|
||||
Statement := AParams.ParseSQL(buf,false,sqEscapeSlash in ConnOptions, sqEscapeRepeat in ConnOptions,psPostgreSQL);
|
||||
Statement:=Buf;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user