Commit 595fdd6b authored by unknown's avatar unknown

Update test result for perror


mysql-test/r/perror.result:
  Add error result for 1186
  Remove the result for the others
mysql-test/t/perror.test:
  As it's only just interesting to see that perror doesn't crash(and as result varies across platforms), send result to /dev/null
parent de41f4e7
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
......@@ -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
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