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

* Fetch all records before building an index using IndexFieldNames

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

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

@@ -1348,6 +1348,7 @@ begin
     FCurrentIndex:=FIndexes[1];
     if active then
       begin
+      FetchAll;
       BuildIndex(FIndexes[1]);
       Resync([rmCenter]);
       end;