#
# Basic test for innodb_saved_page_number_debug.
#
SELECT @@global.innodb_saved_page_number_debug;
@@global.innodb_saved_page_number_debug
0
set global innodb_saved_page_number_debug = 10;
SELECT @@global.innodb_saved_page_number_debug;
@@global.innodb_saved_page_number_debug
10
set global innodb_saved_page_number_debug = 100;
set global innodb_saved_page_number_debug = dummy;
ERROR 42000: Incorrect argument type to variable 'innodb_saved_page_number_debug'
set innodb_saved_page_number_debug = ON;
ERROR HY000: Variable 'innodb_saved_page_number_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;
set global innodb_saved_page_number_debug = 0;
SELECT @@global.innodb_saved_page_number_debug;
@@global.innodb_saved_page_number_debug
0
