mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Create 'main' test directory and move 't' and 'r' there
This commit is contained in:
23
mysql-test/main/mdev375.test
Normal file
23
mysql-test/main/mdev375.test
Normal file
@ -0,0 +1,23 @@
|
||||
#
|
||||
# MDEV-375 Server crashes in THD::print_aborted_warning with log_warnings > 3
|
||||
#
|
||||
--source include/not_embedded.inc
|
||||
|
||||
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;
|
||||
show status like "Threads_connected";
|
||||
|
||||
SET GLOBAL log_warnings=default;
|
||||
SET GLOBAL max_connections=default;
|
Reference in New Issue
Block a user