mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-23 20:29:35 +02:00
* also quote ftguid fields. Mantis 20219.
git-svn-id: trunk@19060 -
This commit is contained in:
parent
53d3d518fa
commit
1556751109
@ -716,6 +716,7 @@ function TSQLConnection.GetAsSQLText(Param: TParam) : string;
|
|||||||
begin
|
begin
|
||||||
if (not assigned(param)) or param.IsNull then Result := 'Null'
|
if (not assigned(param)) or param.IsNull then Result := 'Null'
|
||||||
else case param.DataType of
|
else case param.DataType of
|
||||||
|
ftGuid,
|
||||||
ftMemo,
|
ftMemo,
|
||||||
ftFixedChar,
|
ftFixedChar,
|
||||||
ftString : Result := QuotedStr(Param.AsString);
|
ftString : Result := QuotedStr(Param.AsString);
|
||||||
|
Loading…
Reference in New Issue
Block a user