summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sys_vars/r/innodb_fil_make_page_dirty_debug_basic.result
blob: abf2cdaf1c444c3ee9f9d494dd58e727317d7210 (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
#
# Basic test for innodb_fil_make_page_dirty_debug.
#
SELECT @@global.innodb_fil_make_page_dirty_debug;
@@global.innodb_fil_make_page_dirty_debug
0
set global innodb_fil_make_page_dirty_debug = 0;
SELECT @@global.innodb_fil_make_page_dirty_debug;
@@global.innodb_fil_make_page_dirty_debug
0
set global innodb_fil_make_page_dirty_debug = 0;
set global innodb_fil_make_page_dirty_debug = dummy;
ERROR 42000: Incorrect argument type to variable 'innodb_fil_make_page_dirty_debug'
set innodb_fil_make_page_dirty_debug = ON;
ERROR HY000: Variable 'innodb_fil_make_page_dirty_debug' is a GLOBAL variable and should be set with SET GLOBAL
# An example usage.
create table t1 (f1 int primary key) engine = innodb;
select space from information_schema.innodb_sys_tables
where name = 'test/t1' into @space_id;
set global innodb_saved_page_number_debug = 0;
set global innodb_fil_make_page_dirty_debug = @space_id;
drop table t1;
# Must always be 0.
SELECT @@global.innodb_fil_make_page_dirty_debug;
@@global.innodb_fil_make_page_dirty_debug
0