| 1 |
--source include/have_debug.inc |
| 2 |
|
| 3 |
CREATE TABLE t1 (f1 INT PRIMARY KEY, f2 BLOB) ENCRYPTION='Y'; |
| 4 |
START TRANSACTION; |
| 5 |
INSERT INTO t1 VALUES(1, repeat('#',12)); |
| 6 |
INSERT INTO t1 VALUES(2, repeat('+',12)); |
| 7 |
INSERT INTO t1 VALUES(3, repeat('/',12)); |
| 8 |
INSERT INTO t1 VALUES(4, repeat('-',12)); |
| 9 |
INSERT INTO t1 VALUES(5, repeat('.',12)); |
| 10 |
COMMIT WORK; |
| 11 |
|
| 12 |
--echo # Ensure that dirty pages of table t1 is flushed. |
| 13 |
SET GLOBAL innodb_buf_flush_list_now = 1; |
| 14 |
|
| 15 |
SELECT space from INFORMATION_SCHEMA.INNODB_TABLESPACES WHERE name = |
| 16 |
'test/t1' INTO @space_id; |
| 17 |
SET GLOBAL innodb_saved_page_number_debug = 0; |
| 18 |
SET global innodb_fil_make_page_dirty_debug=@space_id; |
| 19 |
SET GLOBAL innodb_saved_page_number_debug = 0; |
| 20 |
SET GLOBAL innodb_saved_page_number_debug = 6; |
| 21 |
SET global innodb_fil_make_page_dirty_debug=@space_id; |
| 22 |
SET GLOBAL innodb_saved_page_number_debug = 0; |
| 23 |
DROP TABLE t1; |