1CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB;
2INSERT INTO t1 VALUES (1);
3SET GLOBAL innodb_fast_shutdown = 0;
4# restart: --innodb-read-only
5ANALYZE TABLE t1;
6Table Op Msg_type Msg_text
7test.t1 analyze status OK
8# restart
9DROP TABLE t1;
10