mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
remove few .require files and one duplicate have_*inc file.
move variable tests from main to sys-vars
This commit is contained in:
34
mysql-test/suite/sys_vars/t/debug_dbug_func_notembedded.test
Normal file
34
mysql-test/suite/sys_vars/t/debug_dbug_func_notembedded.test
Normal file
@ -0,0 +1,34 @@
|
||||
#
|
||||
# Checks that assigning variable 'debug' in one session has no influence on
|
||||
# other session. (BUG#45632 of bugs.mysql.com)
|
||||
#
|
||||
# (this will not work with embedded server because mysqltest_embedded uses the
|
||||
# same thread for all connections)
|
||||
#
|
||||
--source include/have_debug.inc
|
||||
--source include/not_embedded.inc
|
||||
|
||||
connect(con1,localhost,root,,test,,);
|
||||
connect(con2,localhost,root,,test,,);
|
||||
|
||||
# makes output independant of current debug status
|
||||
connection con1;
|
||||
set session debug_dbug="t";
|
||||
show session variables like 'debug';
|
||||
connection con2;
|
||||
set session debug_dbug="t";
|
||||
show session variables like 'debug';
|
||||
|
||||
# checks influence one session debug variable on another
|
||||
connection con1;
|
||||
set session debug_dbug="d:t";
|
||||
show session variables like 'debug';
|
||||
connection con2;
|
||||
show session variables like 'debug';
|
||||
|
||||
disconnect con1;
|
||||
disconnect con2;
|
||||
|
||||
connection default;
|
||||
|
||||
|
Reference in New Issue
Block a user