summaryrefslogtreecommitdiff
path: root/mysql-test/suite/binlog/t/flashback.test
diff options
context:
space:
mode:
authorSachin Setiya <sachin.setiya@mariadb.com>2017-04-11 14:02:30 +0530
committerSachin Setiya <sachin.setiya@mariadb.com>2017-04-11 14:02:30 +0530
commitdeca24c21fbda2045d812679bdf75bb049dad2a9 (patch)
treee5bc91a89d331d1dc0996817a7190f4722d26036 /mysql-test/suite/binlog/t/flashback.test
parent92f18bdedeec3a3e8ea6f675d4e284fcb46af205 (diff)
downloadmariadb-git-mdev-12017.tar.gz
MDEV-12017 Unclear error with flashback: Variable 'binlog_format' can't ...mdev-12017
When WSREP(thd) is not true we will use my_error(...) to print error. This will set thd->is_error() to true and we wont be getting generic error.
Diffstat (limited to 'mysql-test/suite/binlog/t/flashback.test')
-rw-r--r--mysql-test/suite/binlog/t/flashback.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/suite/binlog/t/flashback.test b/mysql-test/suite/binlog/t/flashback.test
index 2f395a2a7b1..8ef38dbcb9f 100644
--- a/mysql-test/suite/binlog/t/flashback.test
+++ b/mysql-test/suite/binlog/t/flashback.test
@@ -160,4 +160,8 @@ let $MYSQLD_DATADIR= `select @@datadir`;
SELECT * FROM t1;
+SET binlog_format=statement;
+--error ER_FLASHBACK_NOT_SUPPORTED
+SET GLOBAL binlog_format=statement;
+
DROP TABLE t1;