mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Fix crash when trying to stop current query and the helper connection cannot connect for some reason.
This commit is contained in:
@ -13448,9 +13448,9 @@ begin
|
||||
Killer.Parameters := ActiveConnection.Parameters;
|
||||
Killer.LogPrefix := _('Helper connection');
|
||||
Killer.OnLog := LogSQL;
|
||||
Killer.Active := True;
|
||||
KillCommand := Killer.GetSQLSpecifity(spKillQuery, [ActiveConnection.ThreadId]);
|
||||
try
|
||||
Killer.Active := True;
|
||||
KillCommand := Killer.GetSQLSpecifity(spKillQuery, [ActiveConnection.ThreadId]);
|
||||
Killer.Query(KillCommand);
|
||||
except
|
||||
on E:EDbError do begin
|
||||
|
Reference in New Issue
Block a user