1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fixed innodb_scrub_background test.

This commit is contained in:
Jan Lindström
2015-05-27 11:00:46 +03:00
parent 1734bea8b3
commit 58d7e35f59
5 changed files with 8 additions and 32 deletions

View File

@ -55,13 +55,6 @@ SET GLOBAL innodb_encryption_threads=5;
# Success!
# stop scrubbing threads
SET GLOBAL innodb_encryption_threads=0;
# verify that this test have caused background scrubbing
select sum(gs.variable_value - ss.variable_value) > 0 as should_be_1
from snapshot_status ss,
information_schema.global_status gs
where ss.variable_name = gs.variable_name;
should_be_1
1
# restart mysqld so that all pages are flushed
# read all rows from table
select * from t1;