mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
b69a31fad5
Conflicts: conflict Makefile.am conflict mysql-test/suite/rpl/r/rpl_stm_mixing_engines.result conflict mysql-test/suite/rpl/t/rpl_tmp_table_and_DDL.test conflict sql/opt_sum.cc conflict sql/set_var.cc conflict sql/sql_base.cc conflict sql/sql_priv.h conflict sql/sql_show.cc
38 lines
679 B
Text
38 lines
679 B
Text
--source include/have_debug.inc
|
|
|
|
SET @old_debug = @@GLOBAL.debug;
|
|
|
|
#
|
|
# Bug#34678 @@debug variable's incremental mode
|
|
#
|
|
|
|
set debug= 'T';
|
|
select @@debug;
|
|
set debug= '+P';
|
|
select @@debug;
|
|
set debug= '-P';
|
|
select @@debug;
|
|
|
|
#
|
|
# Bug#38054: "SET SESSION debug" modifies @@global.debug variable
|
|
#
|
|
|
|
SELECT @@session.debug, @@global.debug;
|
|
|
|
SET SESSION debug = '';
|
|
|
|
SELECT @@session.debug, @@global.debug;
|
|
|
|
--echo #
|
|
--echo # Bug #52629: memory leak from sys_var_thd_dbug in
|
|
--echo # binlog.binlog_write_error
|
|
--echo #
|
|
|
|
SET GLOBAL debug='d,injecting_fault_writing';
|
|
SELECT @@global.debug;
|
|
SET GLOBAL debug='';
|
|
SELECT @@global.debug;
|
|
|
|
SET GLOBAL debug=@old_debug;
|
|
|
|
--echo End of 5.1 tests
|