polardbxengine/mysql-test/suite/innodb/r/monitor_restart.result

21 lines
437 B
Plaintext

#
# BUG#20080942 - ADAPTIVE_HASH_SEARCHES_BTREE NOT UPDATED
#
CREATE TABLE t1(a INT PRIMARY KEY, b BLOB) STATS_PERSISTENT=0;
SET GLOBAL innodb_fast_shutdown=0;
# restart
SET GLOBAL innodb_purge_stop_now = ON;
SELECT COUNT(*) FROM t1;
COUNT(*)
0
INSERT INTO t1 VALUES(1, 'abc');
INSERT INTO t1 VALUES(2, 'def');
INSERT INTO t1 VALUES(3, 'ghi');
SELECT * FROM t1;
a b
1 abc
2 def
3 ghi
DROP TABLE t1;
SET GLOBAL innodb_purge_run_now = ON;