summaryrefslogtreecommitdiff
path: root/mysql-test/r/stat_tables_rbr.result
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2012-08-20 12:05:37 -0700
committerIgor Babaev <igor@askmonty.org>2012-08-20 12:05:37 -0700
commitfb69d6426563db40e1558391cecb84ee2eaef8bb (patch)
tree1f3c7adcd22cd27d1e1790ad4beab765a54ff4dc /mysql-test/r/stat_tables_rbr.result
parentfd7059d20859863a146cd306b88ac6e9817622fd (diff)
downloadmariadb-git-fb69d6426563db40e1558391cecb84ee2eaef8bb.tar.gz
Fixed bug mdev-463.
RBR should be turned off when an ANALYZE TABLE command is executed.
Diffstat (limited to 'mysql-test/r/stat_tables_rbr.result')
-rw-r--r--mysql-test/r/stat_tables_rbr.result10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/stat_tables_rbr.result b/mysql-test/r/stat_tables_rbr.result
new file mode 100644
index 00000000000..7a0d23193e7
--- /dev/null
+++ b/mysql-test/r/stat_tables_rbr.result
@@ -0,0 +1,10 @@
+#
+# Bug mdev-463: assertion failure when running ANALYZE with RBR on
+#
+SET GLOBAL use_stat_tables = PREFERABLY;
+CREATE TABLE t1 (i INT) ENGINE=InnoDB;
+ANALYZE TABLE t1;
+Table Op Msg_type Msg_text
+test.t1 analyze status OK
+DROP TABLE t1;
+SET GLOBAL use_stat_tables = DEFAULT;