summaryrefslogtreecommitdiff
path: root/mysql-test/t/no_binlog.test
diff options
context:
space:
mode:
authorLuis Soares <luis.soares@sun.com>2010-02-05 17:51:55 +0000
committerLuis Soares <luis.soares@sun.com>2010-02-05 17:51:55 +0000
commit3ad5d21ebc981a0b8c59597f0f1a306f3c9d6bf2 (patch)
tree7a2a72aa06d71580ef40999de03255a652af8754 /mysql-test/t/no_binlog.test
parenta0e19f681601979231effab07a2bb6f7e3fbc33c (diff)
downloadmariadb-git-3ad5d21ebc981a0b8c59597f0f1a306f3c9d6bf2.tar.gz
BUG#50780: 'show binary logs' debug assertion when binary
logging is disabled The server would hit an assertion because of a DBUG violation. There was a missing DBUG_RETURN and instead a plain return was used. This patch replaces the return with DBUG_RETURN.
Diffstat (limited to 'mysql-test/t/no_binlog.test')
-rw-r--r--mysql-test/t/no_binlog.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/t/no_binlog.test b/mysql-test/t/no_binlog.test
new file mode 100644
index 00000000000..628a4ab8351
--- /dev/null
+++ b/mysql-test/t/no_binlog.test
@@ -0,0 +1,4 @@
+# BUG#50780: 'show binary logs' debug assertion when binary logging is disabled
+
+-- error ER_NO_BINARY_LOGGING
+SHOW BINARY LOGS;