Debian Codegraph @

mysql-test/suite/sys_vars/t/innodb_buffer_pool_dump_now_basic.test

raw
1 #
2 # Basic test for innodb_buffer_pool_dump_now
3 #
4
5
6 # Check the default value
7 SET @orig = @@global.innodb_buffer_pool_dump_now;
8 SELECT @orig;
9
10 # Do the dump
11 SET GLOBAL innodb_buffer_pool_dump_now = ON;
12 # Should always be OFF
13 SELECT @@global.innodb_buffer_pool_dump_now;
14
15 # Wait for the dump to complete
16 let $wait_condition =
17 SELECT SUBSTR(variable_value, 1, 33) = 'Buffer pool(s) dump completed at '
18 FROM performance_schema.global_status
19 WHERE LOWER(variable_name) = 'innodb_buffer_pool_dump_status';
20 -- source include/wait_condition.inc
21
22 # Confirm that the dump file has been created
23 -- let $file = `SELECT CONCAT(@@datadir, @@global.innodb_buffer_pool_filename)`
24 -- file_exists $file