Update test result for perror

This commit is contained in:
msvensson@neptunus.(none) 2006-07-26 14:21:40 +02:00
parent 9e000766b7
commit 7e8cfe3830
2 changed files with 7 additions and 7 deletions

View file

@ -1,3 +1,2 @@
MySQL error code 150: Foreign key constraint is incorrectly formed
Is a named type file
Didn't find key on read or update
Illegal ndb error code: 1186
Illegal error code: 1186

View file

@ -6,8 +6,8 @@ disable_query_log;
eval select LENGTH("$MY_PERROR") > 0 as "have_perror";
enable_query_log;
--exec $MY_PERROR 150
--exec $MY_PERROR --silent 120
--exec $MY_PERROR 150 > /dev/null
--exec $MY_PERROR --silent 120 > /dev/null
#
# Bug#16561 Unknown ERROR msg "ERROR 1186 (HY000): Binlog closed" by perror
@ -16,7 +16,8 @@ enable_query_log;
# 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
--exec $MY_PERROR --ndb 1186 2>&1
# As there is an error code defined for 1186, expect error
--exec $MY_PERROR 1186
--error 1
--exec $MY_PERROR 1186 2>&1