mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
MDEV-21857 - Fix sporadic failure of mdev375
status threads_connected can temporarily be bigger than max_connections+1 If SHOW STATUS LIKE "Threads_connected" comes after ER_CON_COUNT_ERROR is sent to the client, but before the counter is decremented, Threads_connected can differ from the expected value.
This commit is contained in:
@@ -27,6 +27,8 @@ SELECT 2;
|
|||||||
|
|
||||||
--connection default
|
--connection default
|
||||||
SELECT 0;
|
SELECT 0;
|
||||||
|
let $count_sessions=11;
|
||||||
|
--source include/wait_until_count_sessions.inc
|
||||||
show status like "Threads_connected";
|
show status like "Threads_connected";
|
||||||
|
|
||||||
SET GLOBAL log_warnings=@save_log_warnings;
|
SET GLOBAL log_warnings=@save_log_warnings;
|
||||||
|
Reference in New Issue
Block a user