mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
fb69d64265
RBR should be turned off when an ANALYZE TABLE command is executed.
18 lines
388 B
Text
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
|
|
|