Browse Source

* Temporary fix: enable double-quotation escaping for all databases.

git-svn-id: trunk@6050 -
joost 18 years ago
parent
commit
5e4d291a87
1 changed files with 4 additions and 1 deletions
  1. 4 1
      fcl/db/dsparams.inc

+ 4 - 1
fcl/db/dsparams.inc

@@ -280,7 +280,10 @@ begin
   p:=PChar(SQL);
   BufStart:=p; // used to calculate ParamPart.Start values
   repeat
-    SkipComments(p,ParameterStyle<>psPostgreSQL,ParameterStyle=psPostgreSQL);
+// This doesn't work, since ParseSQL passes psInterbase as default. This need
+// some more advanced solution. Now temporary fix, to fix at least fpcbot...
+//    SkipComments(p,ParameterStyle<>psPostgreSQL,ParameterStyle=psPostgreSQL);
+    SkipComments(p,True,True);
     case p^ of
       ':','?': // parameter
         begin