summaryrefslogtreecommitdiff
path: root/mysql-test/t/ndb_basic.test
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2006-07-31 13:11:21 +0200
committermsvensson@neptunus.(none) <>2006-07-31 13:11:21 +0200
commit823ead0775f70253a7a85d38fc2812ae4ba920bd (patch)
tree59c385c6697714234ee6c8ef93bc030a6ca0b75d /mysql-test/t/ndb_basic.test
parenta5112188e2a7dd85ff8bae01133e044f5b108fa0 (diff)
downloadmariadb-git-823ead0775f70253a7a85d38fc2812ae4ba920bd.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
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
+