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

git-svn-id: trunk@12640 -
This commit is contained in:
joost 2009-02-01 14:09:27 +00:00
parent 6fc3f2e809
commit 349ff010a1

View File

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