summaryrefslogtreecommitdiff
path: root/mysql-test/t/perror.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/perror.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/perror.test')
-rw-r--r--mysql-test/t/perror.test5
1 files changed, 0 insertions, 5 deletions
diff --git a/mysql-test/t/perror.test b/mysql-test/t/perror.test
index e6c9546161b..21297fccd95 100644
--- a/mysql-test/t/perror.test
+++ b/mysql-test/t/perror.test
@@ -13,11 +13,6 @@ enable_query_log;
# 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
-
# As there is an error code defined for 1186, expect error
--error 1
--exec $MY_PERROR 1186 2>&1