mariadb/mysql-test/t/stat_tables_rbr.test
Igor Babaev fb69d64265 Fixed bug mdev-463.
RBR should be turned off when an ANALYZE TABLE command is executed.
2012-08-20 12:05:37 -07:00

18 lines
388 B
Text

--source include/have_binlog_format_row.inc
--source include/have_innodb.inc
--echo #
--echo # Bug mdev-463: assertion failure when running ANALYZE with RBR on
--echo #
SET GLOBAL use_stat_tables = PREFERABLY;
--connect (con1,localhost,root,,)
CREATE TABLE t1 (i INT) ENGINE=InnoDB;
ANALYZE TABLE t1;
# Cleanup
DROP TABLE t1;
SET GLOBAL use_stat_tables = DEFAULT;
--disconnect con1