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

git-svn-id: trunk@6050 -
This commit is contained in:
joost 2007-01-18 14:17:05 +00:00
parent e79ab4462b
commit 5e4d291a87

View File

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