Ver Fonte

* Don't fetch all records in detail dataset when master dataset is empty

git-svn-id: trunk@30887 -
blikblum há 10 anos atrás
pai
commit
6542cfe0ad
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      packages/fcl-db/src/sqlite/customsqliteds.pas

+ 1 - 1
packages/fcl-db/src/sqlite/customsqliteds.pas

@@ -1449,7 +1449,7 @@ var
   AFilter: String;
   i: Integer;
 begin
-  if not FMasterLink.Active or (FMasterLink.Dataset.RecordCount = 0) then //Retrieve all data
+  if not FMasterLink.Active then //Retrieve all data
     FEffectiveSQL := FSqlFilterTemplate
   else
   begin