Преглед изворни кода

* Set the FFirstRecBuf of the default index to nil when the dataset is closed. (Fixes test TestExceptOnsecClose)

git-svn-id: trunk@10347 -
joost пре 17 година
родитељ
комит
7a114d46c1
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      packages/fcl-db/src/base/bufdataset.pas

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

@@ -699,6 +699,7 @@ begin
       FCurrentRecBuf := FCurrentRecBuf[IndNr].next;
       FreeRecordBuffer(pc);
       end;
+    FFirstRecBuf:=nil;
 {$ENDIF}
     end;