Parcourir la source

* Patch for bug #27067 by Tony Whyman

git-svn-id: trunk@29112 -
michael il y a 10 ans
Parent
commit
42a317ab73
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/fcl-db/src/base/datasource.inc

+ 1 - 1
packages/fcl-db/src/base/datasource.inc

@@ -36,7 +36,7 @@ Var
   B : Boolean;
 
 begin
-  B:=Assigned(DataSource) and (DataSource.State<>dsInactive);
+  B:=Assigned(DataSource) and Not (DataSource.State in [dsInactive,dsOpening]);
   If B<>FActive then
     begin
     FActive:=B;