mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user