1
#############################################################################
2
# This test is being created to test out the non deterministic items with #
3
# row based replication. #
4
# Original Author: JBM #
5
# Original Date: Aug/10/2005 #
6
# Update: 08/29/2005 change name to initails #
7
#############################################################################
10
-- source include/have_binlog_format_row.inc
11
-- source include/master-slave.inc
14
# Begin clean up test section
18
DROP FUNCTION test.f1;
19
DROP TABLE IF EXISTS test.t1;
24
# Section 1 test from bug #12487 Uses stored function to insert rows to see what is replicated.
26
create table test.t1 (a int, PRIMARY KEY(a));
29
create function test.f1(i int) returns int
31
insert into test.t1 values(i);
38
select * from test.t1;
41
sync_slave_with_master;
43
#show create table test.t1;
44
select * from test.t1;
53
DROP FUNCTION test.f1;
55
sync_slave_with_master;
57
# End of 5.0 test case