mariadb/mysql-test/r/mdev375.result
Sergei Golubchik 42ea25d4c5 MDEV-375 Server crashes in THD::print_aborted_warning with log_warnings > 3
Don't use ER(xxx) in THD::close_connection(), when current_thd is already reset to NULL.
Prefer ER_THD() or ER_DEFAULT() instead.
2012-07-31 18:32:46 +02:00

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;