mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
42ea25d4c5
Don't use ER(xxx) in THD::close_connection(), when current_thd is already reset to NULL. Prefer ER_THD() or ER_DEFAULT() instead.
14 lines
202 B
Text
14 lines
202 B
Text
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;
|