浏览代码

* also quote ftguid fields. Mantis 20219.

git-svn-id: trunk@19060 -
marco 14 年之前
父节点
当前提交
1556751109
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/fcl-db/src/sqldb/sqldb.pp

+ 1 - 0
packages/fcl-db/src/sqldb/sqldb.pp

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