瀏覽代碼

* Reverted r11519, this patch depends on other patches which are not merged yet, resulting in a guaranteed AV while destroying TBufDatasets

git-svn-id: branches/fixes_2_2@11622 -
joost 17 年之前
父節點
當前提交
4b94d31284
共有 1 個文件被更改,包括 0 次插入9 次删除
  1. 0 9
      packages/fcl-db/src/base/bufdataset.pas

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

@@ -398,16 +398,7 @@ begin
 end;
 
 destructor TBufDataset.Destroy;
-
-Var
-  I : Integer;
 begin
-  SetLength(FUpdateBuffer,0);
-  SetLength(FBlobBuffers,0);
-  SetLength(FUpdateBlobBuffers,0);
-  For I:=0 to Length(FIndexes)-1 do
-    FreeAndNil(Findexes[I]);
-  SetLength(FIndexes,0);
   FreeAndNil(FIndexDefs);
   inherited destroy;
 end;