mirror of
https://github.com/MariaDB/server.git
synced 2025-05-05 16:59:35 +03:00
Don't use ER(xxx) in THD::close_connection(), when current_thd is already reset to NULL. Prefer ER_THD() or ER_DEFAULT() instead.
15 lines
202 B
Plaintext
15 lines
202 B
Plaintext
SET GLOBAL log_warnings=4;
|
|
SET GLOBAL max_connections=2;
|
|
SELECT 1;
|
|
1
|
|
1
|
|
SELECT 2;
|
|
2
|
|
2
|
|
ERROR HY000: Too many connections
|
|
SELECT 0;
|
|
0
|
|
0
|
|
SET GLOBAL log_warnings=default;
|
|
SET GLOBAL max_connections=default;
|