Update test result for perror

parent 9e000766
MySQL error code 150: Foreign key constraint is incorrectly formed Illegal ndb error code: 1186
Is a named type file Illegal error code: 1186
Didn't find key on read or update
...@@ -6,8 +6,8 @@ disable_query_log; ...@@ -6,8 +6,8 @@ disable_query_log;
eval select LENGTH("$MY_PERROR") > 0 as "have_perror"; eval select LENGTH("$MY_PERROR") > 0 as "have_perror";
enable_query_log; enable_query_log;
--exec $MY_PERROR 150 --exec $MY_PERROR 150 > /dev/null
--exec $MY_PERROR --silent 120 --exec $MY_PERROR --silent 120 > /dev/null
# #
# Bug#16561 Unknown ERROR msg "ERROR 1186 (HY000): Binlog closed" by perror # Bug#16561 Unknown ERROR msg "ERROR 1186 (HY000): Binlog closed" by perror
...@@ -16,7 +16,8 @@ enable_query_log; ...@@ -16,7 +16,8 @@ enable_query_log;
# As long there is no error code 1186 defined by NDB # As long there is no error code 1186 defined by NDB
# we should get a message "Illegal ndb error code: 1186" # we should get a message "Illegal ndb error code: 1186"
--error 1 --error 1
--exec $MY_PERROR --ndb 1186 --exec $MY_PERROR --ndb 1186 2>&1
# As there is an error code defined for 1186, expect error # As there is an error code defined for 1186, expect error
--exec $MY_PERROR 1186 --error 1
--exec $MY_PERROR 1186 2>&1
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment