1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Add a test at Andrei's behest. Show the SHOW CREATE on the

master also, so that we can visually see the slave is the same.


mysql-test/r/rpl_sp.result:
  SHOW CREATE on master also.
mysql-test/t/rpl_sp.test:
  SHOW CREATE on master also.
This commit is contained in:
unknown
2008-05-16 11:26:29 -04:00
parent e10957274a
commit 1f904b7f11
2 changed files with 16 additions and 0 deletions

View File

@ -557,6 +557,17 @@ Procedure sql_mode Create Procedure
begin begin
select a; select a;
end end
show procedure status like '%mysqltestbug36570%';
Db Name Type Definer Modified Created Security_type Comment
test mysqltestbug36570_p2 PROCEDURE root@localhost t t DEFINER
test mysqltestbug36570_p1 PROCEDURE root@localhost t t DEFINER
show create procedure ` mysqltestbug36570_p2`;
Procedure sql_mode Create Procedure
mysqltestbug36570_p2 CREATE DEFINER=`root`@`localhost` PROCEDURE ` mysqltestbug36570_p2`(/*!50001 a int*/)
`label`:
begin
select a;
end
call ` mysqltestbug36570_p2`(42); call ` mysqltestbug36570_p2`(42);
a a
42 42

View File

@ -606,8 +606,13 @@ use test|
delimiter ;| delimiter ;|
--replace_column 5 t 6 t
show procedure status like '%mysqltestbug36570%';
show create procedure ` mysqltestbug36570_p2`;
sync_slave_with_master; sync_slave_with_master;
connection slave; connection slave;
--replace_column 5 t 6 t --replace_column 5 t 6 t
show procedure status like '%mysqltestbug36570%'; show procedure status like '%mysqltestbug36570%';
show create procedure ` mysqltestbug36570_p2`; show create procedure ` mysqltestbug36570_p2`;