Browse Source

* Fix bug ID #24109

git-svn-id: trunk@26724 -
michael 11 years ago
parent
commit
7846bec140
1 changed files with 1 additions and 2 deletions
  1. 1 2
      packages/fcl-db/src/base/bufdataset.pas

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

@@ -1581,9 +1581,8 @@ begin
   if (AValue<>IsUniDirectional) then
   if (AValue<>IsUniDirectional) then
     begin
     begin
     SetUniDirectional(AValue);
     SetUniDirectional(AValue);
-    SetLength(FIndexes,0);
+    ClearIndexes;
     FPacketRecords := 1; // temporary
     FPacketRecords := 1; // temporary
-    FIndexesCount:=0;
     end;
     end;
 end;
 end;