1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Change error code to test for "unknown error" with to 10000

This commit is contained in:
unknown
2006-08-01 11:29:10 +02:00
parent f8497a1624
commit 8b3ef8c11c
2 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
Illegal error code: 1186
Illegal error code: 10000

View File

@ -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