2012-07-31 18:32:46 +02:00
|
|
|
#
|
|
|
|
# MDEV-375 Server crashes in THD::print_aborted_warning with log_warnings > 3
|
|
|
|
#
|
2012-09-02 19:09:17 +02:00
|
|
|
--source include/not_embedded.inc
|
|
|
|
|
2012-07-31 18:32:46 +02:00
|
|
|
SET GLOBAL log_warnings=4;
|
2018-03-22 19:03:54 +01:00
|
|
|
SET GLOBAL max_connections=10;
|
|
|
|
|
|
|
|
--connect (tmp_con1,localhost,root,,)
|
|
|
|
--connect (tmp_con2,localhost,root,,)
|
|
|
|
--connect (tmp_con3,localhost,root,,)
|
|
|
|
--connect (tmp_con4,localhost,root,,)
|
|
|
|
--connect (tmp_con5,localhost,root,,)
|
|
|
|
--connect (tmp_con6,localhost,root,,)
|
|
|
|
--connect (tmp_con7,localhost,root,,)
|
|
|
|
--connect (tmp_con8,localhost,root,,)
|
2012-07-31 18:32:46 +02:00
|
|
|
|
|
|
|
--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;
|