Browse Source

' * Do not use a space as FieldNamesQuoteChar but an empty string, so that parameters are parsed correctly

git-svn-id: trunk@12640 -
joost 16 years ago
parent
commit
349ff010a1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/fcl-db/src/sqldb/sqldb.pp

+ 2 - 2
packages/fcl-db/src/sqldb/sqldb.pp

@@ -1361,7 +1361,7 @@ end;
 
 
 Procedure TCustomSQLQuery.ApplyRecUpdate(UpdateKind : TUpdateKind);
 Procedure TCustomSQLQuery.ApplyRecUpdate(UpdateKind : TUpdateKind);
 
 
-var FieldNamesQuoteChar : char;
+var FieldNamesQuoteChar : string;
 
 
   procedure InitialiseModifyQuery(var qry : TCustomSQLQuery; aSQL: String);
   procedure InitialiseModifyQuery(var qry : TCustomSQLQuery; aSQL: String);
 
 
@@ -1458,7 +1458,7 @@ begin
   if sqQuoteFieldnames in TSQLConnection(DataBase).ConnOptions then
   if sqQuoteFieldnames in TSQLConnection(DataBase).ConnOptions then
     FieldNamesQuoteChar := '"'
     FieldNamesQuoteChar := '"'
   else
   else
-    FieldNamesQuoteChar := ' ';
+    FieldNamesQuoteChar := '';
 
 
   case UpdateKind of
   case UpdateKind of
     ukModify : begin
     ukModify : begin