File: innodb_saved_page_number_debug_basic.result

package info (click to toggle)
mariadb-10.1 10.1.45-0%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 476,916 kB
  • sloc: cpp: 1,124,656; ansic: 871,843; perl: 52,917; sh: 40,078; pascal: 35,370; javascript: 15,555; yacc: 14,728; ruby: 8,684; xml: 5,377; sql: 3,490; makefile: 2,934; python: 1,970; java: 1,691; asm: 837; lex: 757; php: 22; sed: 16
file content (26 lines) | stat: -rw-r--r-- 1,039 bytes parent folder | download | duplicates (7)
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_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