Skip to content

Commit b3743d8

Browse files
committed
feat: prefer KILL QUERY over KILL on MySQL and MariaDB, when using the "Kill process" menu item in Host > processlist
Refs #1567
1 parent 27e26a6 commit b3743d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/main.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6671,7 +6671,7 @@ procedure TMainForm.KillProcess(Sender: TObject);
66716671
if pid = Conn.ThreadId then
66726672
LogSQL(f_('Ignoring own process id #%d when trying to kill it.', [pid]))
66736673
else try
6674-
Conn.Query(Conn.GetSQLSpecifity(spKillProcess, [pid]));
6674+
Conn.Query(Conn.GetSQLSpecifity(spKillQuery, [pid]));
66756675
except
66766676
on E:EDbError do begin
66776677
if Conn.LastErrorCode <> ER_NO_SUCH_THREAD then

0 commit comments

Comments
 (0)