summaryrefslogtreecommitdiff
path: root/mysql-test/t/variables_debug.test
blob: 12f5d2e6ca5a2a21b7f58f3821baac0bd3b8e871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--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;

--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