mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
feat: prefer KILL QUERY over KILL on MySQL and MariaDB, when using the "Kill process" menu item in Host > processlist
Refs #1567
This commit is contained in:
@@ -6671,7 +6671,7 @@ begin
|
||||
if pid = Conn.ThreadId then
|
||||
LogSQL(f_('Ignoring own process id #%d when trying to kill it.', [pid]))
|
||||
else try
|
||||
Conn.Query(Conn.GetSQLSpecifity(spKillProcess, [pid]));
|
||||
Conn.Query(Conn.GetSQLSpecifity(spKillQuery, [pid]));
|
||||
except
|
||||
on E:EDbError do begin
|
||||
if Conn.LastErrorCode <> ER_NO_SUCH_THREAD then
|
||||
|
||||
Reference in New Issue
Block a user