* Fix prepare without parameters

git-svn-id: trunk@43003 -
This commit is contained in:
michael 2019-09-15 10:14:29 +00:00
parent 671e3ddec7
commit f4921daee6

View File

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