diff options
Diffstat (limited to 'mysql-test/t/perror.test')
-rw-r--r-- | mysql-test/t/perror.test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mysql-test/t/perror.test b/mysql-test/t/perror.test index 21297fccd95..a4b99d8aa22 100644 --- a/mysql-test/t/perror.test +++ b/mysql-test/t/perror.test @@ -13,6 +13,7 @@ enable_query_log; # Bug#16561 Unknown ERROR msg "ERROR 1186 (HY000): Binlog closed" by perror # -# As there is an error code defined for 1186, expect error +# Test with error code 10000 as it's a common "unknown error" +# As there is no error code defined for 10000, expect error --error 1 ---exec $MY_PERROR 1186 2>&1 +--exec $MY_PERROR 10000 2>&1 |