Browse Source

* Fix bug #33869, wrong assignment in CopyFromDataset for largeint fields

git-svn-id: trunk@39237 -
michael 7 years ago
parent
commit
e8f74fdbdb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-db/src/base/bufdataset.pas

+ 1 - 1
packages/fcl-db/src/base/bufdataset.pas

@@ -1574,7 +1574,7 @@ begin
                  ftBoolean  : F1.AsBoolean:=F2.AsBoolean;
                  ftFloat    : F1.AsFloat:=F2.AsFloat;
                  ftAutoInc,
-                 ftLargeInt : F1.AsInteger:=F2.AsInteger;
+                 ftLargeInt : F1.AsLargeInt:=F2.AsLargeInt;
                  ftSmallInt : F1.AsInteger:=F2.AsInteger;
                  ftInteger  : F1.AsInteger:=F2.AsInteger;
                  ftDate     : F1.AsDateTime:=F2.AsDateTime;