Browse Source

* Initialize result in CountConnections

Michaël Van Canneyt 1 year ago
parent
commit
b4d4c30a45
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fcl-db/src/sqldb/sqldbpool.pp

+ 1 - 0
packages/fcl-db/src/sqldb/sqldbpool.pp

@@ -1205,6 +1205,7 @@ Var
   Key : String;
   L : TConnectionList;
 begin
+  Result:=0;
   Key:=CreateKey(aDef);
   Lock;
   try