Browse Source

* Also recognize parameters wich starts with lowercase old

git-svn-id: trunk@20939 -
joost 13 years ago
parent
commit
3568f8a3fe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-db/src/sqldb/sqldb.pp

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

@@ -1671,7 +1671,7 @@ begin
   assert(qry.sql.Text<>'');
   with qry do
     begin
-    for x := 0 to Params.Count-1 do with params[x] do if leftstr(name,4)='OLD_' then
+    for x := 0 to Params.Count-1 do with params[x] do if sametext(leftstr(name,4),'OLD_') then
       begin
       Fld := self.FieldByName(copy(name,5,length(name)-4));
       AssignFieldValue(Fld,Fld.OldValue);