1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

making rpl_sp.test hostname-independent

This commit is contained in:
gbichot@quadita2.mysql.com
2005-05-05 18:28:54 +02:00
parent d11607b08f
commit 688d9ee03c
2 changed files with 6 additions and 5 deletions

View File

@@ -125,8 +125,9 @@ create procedure foo4()
delimiter ;|
--replace_result localhost.localdomain localhost 127.0.0.1 localhost
--error 1142;
# I add ,0 so that it does not print the error in the test output,
# because this error is hostname-dependent
--error 1142,0;
call foo4(); # invoker has no INSERT grant on table => failure
show warnings;
@@ -135,7 +136,7 @@ call foo3(); # success (definer == root)
show warnings;
--replace_result localhost.localdomain localhost 127.0.0.1 localhost
--error 1142;
--error 1142,0;
call foo4(); # definer's rights => failure
show warnings;