We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb81654 commit 2151b40Copy full SHA for 2151b40
1 file changed
source/dbconnection.pas
@@ -3620,6 +3620,11 @@ function TAdoDBConnection.Ping(Reconnect: Boolean): Boolean;
3620
if Reconnect then
3621
Active := True;
3622
end;
3623
+ end
3624
+ else begin
3625
+ // Not active currently, reconnect
3626
+ if Reconnect then
3627
+ Active := True;
3628
3629
Result := FActive;
3630
// Restart keep-alive timer
@@ -3691,6 +3696,11 @@ function TInterbaseConnection.Ping(Reconnect: Boolean): Boolean;
3691
3696
Log(lcDebug, 'Ping server ...');
3692
3697
if FActive then begin
3693
3698
FFDHandle.Ping;
3699
3700
3701
3702
3703
3694
3704
3695
3705
3706
0 commit comments