* also quote ftguid fields. Mantis 20219.

git-svn-id: trunk@19060 -
This commit is contained in:
marco 2011-09-14 07:48:24 +00:00
parent 53d3d518fa
commit 1556751109

View File

@ -716,6 +716,7 @@ function TSQLConnection.GetAsSQLText(Param: TParam) : string;
begin
if (not assigned(param)) or param.IsNull then Result := 'Null'
else case param.DataType of
ftGuid,
ftMemo,
ftFixedChar,
ftString : Result := QuotedStr(Param.AsString);