1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +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:
Vladislav Vaintroub
2020-03-02 16:35:57 +01:00
parent 8382f10691
commit f0d2542a37

View File

@ -27,6 +27,8 @@ SELECT 2;
--connection default
SELECT 0;
let $count_sessions=11;
--source include/wait_until_count_sessions.inc
show status like "Threads_connected";
SET GLOBAL log_warnings=@save_log_warnings;