Browse Source

* Did not reset FCurrentItem in GetRecord when called with gmPrior. Fixes calling Resync with rmExact

git-svn-id: trunk@30771 -
blikblum 10 years ago
parent
commit
9e0b281bf1
1 changed files with 1 additions and 4 deletions
  1. 1 4
      packages/fcl-db/src/sqlite/customsqliteds.pas

+ 1 - 4
packages/fcl-db/src/sqlite/customsqliteds.pas

@@ -757,10 +757,7 @@ begin
   case GetMode of
   case GetMode of
     gmPrior:
     gmPrior:
       if (FCurrentItem^.Previous = FBeginItem) or (FCurrentItem = FBeginItem) then
       if (FCurrentItem^.Previous = FBeginItem) or (FCurrentItem = FBeginItem) then
-      begin
-        Result := grBOF;
-        FCurrentItem := FBeginItem;
-      end
+        Result := grBOF
       else
       else
         FCurrentItem:=FCurrentItem^.Previous;
         FCurrentItem:=FCurrentItem^.Previous;
     gmCurrent:
     gmCurrent: