mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Fix threadpool to report connections aborted due to wait timeout.
Update wait_timeout.test to add test case for this.
This commit is contained in:
@@ -2008,6 +2008,9 @@ int THD::killed_errno()
|
||||
DBUG_RETURN(ER_SERVER_SHUTDOWN);
|
||||
case KILL_SLAVE_SAME_ID:
|
||||
DBUG_RETURN(ER_SLAVE_SAME_ID);
|
||||
case KILL_WAIT_TIMEOUT:
|
||||
case KILL_WAIT_TIMEOUT_HARD:
|
||||
DBUG_RETURN(ER_NET_READ_INTERRUPTED);
|
||||
}
|
||||
DBUG_RETURN(0); // Keep compiler happy
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user