Просмотр исходного кода

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

git-svn-id: trunk@30771 -
blikblum 10 лет назад
Родитель
Сommit
9e0b281bf1
1 измененных файлов с 1 добавлено и 4 удалено
  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
     gmPrior:
       if (FCurrentItem^.Previous = FBeginItem) or (FCurrentItem = FBeginItem) then
-      begin
-        Result := grBOF;
-        FCurrentItem := FBeginItem;
-      end
+        Result := grBOF
       else
         FCurrentItem:=FCurrentItem^.Previous;
     gmCurrent: