소스 검색

* Do not change the active record when updating the buffersize

git-svn-id: trunk@6135 -
joost 18 년 전
부모
커밋
13b6444b07
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      fcl/db/dataset.inc

+ 4 - 1
fcl/db/dataset.inc

@@ -878,7 +878,10 @@ begin
 {$endif}
   GetNextRecords;
   if FRecordCount < FBufferCount then
-    GetPriorRecords;
+    begin
+    FActiveRecord := FActiveRecord + GetPriorRecords;
+    CursorPosChanged;
+    end;
 {$Ifdef dsDebug}
   WriteLn(
     'SetBufferCount: FActiveRecord=',FActiveRecord,