mariadb/mysql-test/r/mdev375.result

20 lines
364 B
Text

SET GLOBAL log_warnings=4;
SET GLOBAL max_connections=2;
connect con1,localhost,root,,;
SELECT 1;
1
1
connect con2,localhost,root,,;
SELECT 2;
2
2
ERROR HY000: Too many connections
connection default;
SELECT 0;
0
0
show status like "Threads_connected";
Variable_name Value
Threads_connected 3
SET GLOBAL log_warnings=default;
SET GLOBAL max_connections=default;