summaryrefslogtreecommitdiff
path: root/mysql-test/t/ndb_basic.test
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-07-31 13:11:21 +0200
committerunknown <msvensson@neptunus.(none)>2006-07-31 13:11:21 +0200
commit414dda4949d92a9f334fb1a92985d246f3c66296 (patch)
tree59c385c6697714234ee6c8ef93bc030a6ca0b75d /mysql-test/t/ndb_basic.test
parentf0aec16d558882c3c9bb4a5a5b35b54b9a939d76 (diff)
downloadmariadb-git-414dda4949d92a9f334fb1a92985d246f3c66296.tar.gz
perror returns 2 if it does not understand the option --ndb
Move that perror test to ndb_basic so it's only run when there is support for --ndb mysql-test/r/ndb_basic.result: Move test of "perror --ndb" to this file mysql-test/r/perror.result: Move test of "perror --ndb" to ndb_basic mysql-test/t/ndb_basic.test: Move test of "perror --ndb" to this file mysql-test/t/perror.test: Move test of "perror --ndb" to ndb_basic
Diffstat (limited to 'mysql-test/t/ndb_basic.test')
-rw-r--r--mysql-test/t/ndb_basic.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/ndb_basic.test b/mysql-test/t/ndb_basic.test
index 5d79d5eb9f9..6c1a4e44f4b 100644
--- a/mysql-test/t/ndb_basic.test
+++ b/mysql-test/t/ndb_basic.test
@@ -700,3 +700,13 @@ select * from t1 order by f1;
select * from t1 order by f2;
select * from t1 order by f3;
drop table t1;
+
+#
+# Bug#16561 Unknown ERROR msg "ERROR 1186 (HY000): Binlog closed" by perror
+#
+
+# As long there is no error code 1186 defined by NDB
+# we should get a message "Illegal ndb error code: 1186"
+--error 1
+--exec $MY_PERROR --ndb 1186 2>&1
+