mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +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.
20 lines
430 B
Text
20 lines
430 B
Text
#
|
|
# MDEV-375 Server crashes in THD::print_aborted_warning with log_warnings > 3
|
|
#
|
|
SET GLOBAL log_warnings=4;
|
|
SET GLOBAL max_connections=2;
|
|
|
|
--connect (con1,localhost,root,,)
|
|
SELECT 1;
|
|
--connect (con2,localhost,root,,)
|
|
SELECT 2;
|
|
--disable_query_log
|
|
--error ER_CON_COUNT_ERROR
|
|
--connect (con3,localhost,root,,)
|
|
--enable_query_log
|
|
|
|
--connection default
|
|
SELECT 0;
|
|
|
|
SET GLOBAL log_warnings=default;
|
|
SET GLOBAL max_connections=default;
|