Commit 944f793b authored by cmiller@zippy.cornsilk.net's avatar cmiller@zippy.cornsilk.net
Browse files

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.
parent eee06ff1
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -557,6 +557,17 @@ Procedure sql_mode Create Procedure
begin
select a;
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);
a
42
+5 −0
Original line number Diff line number Diff line
@@ -606,8 +606,13 @@ use test|

delimiter ;|

--replace_column 5 t 6 t
show procedure status like '%mysqltestbug36570%';
show create procedure ` mysqltestbug36570_p2`;

sync_slave_with_master;
connection slave;

--replace_column 5 t 6 t
show procedure status like '%mysqltestbug36570%';
show create procedure ` mysqltestbug36570_p2`;