Commit 8b3ef8c1 authored by unknown's avatar unknown
Browse files

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

parent f8497a16
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
Illegal error code: 1186
Illegal error code: 10000
+3 −2
Original line number Diff line number Diff line
@@ -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