mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed bug mdev-463.
RBR should be turned off when an ANALYZE TABLE command is executed.
This commit is contained in:
18
mysql-test/t/stat_tables_rbr.test
Normal file
18
mysql-test/t/stat_tables_rbr.test
Normal file
@ -0,0 +1,18 @@
|
||||
--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
|
||||
|
Reference in New Issue
Block a user