diff options
Diffstat (limited to 'mysql-test/suite/rpl/r/rpl_row_func001.result')
-rw-r--r-- | mysql-test/suite/rpl/r/rpl_row_func001.result | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/mysql-test/suite/rpl/r/rpl_row_func001.result b/mysql-test/suite/rpl/r/rpl_row_func001.result new file mode 100644 index 00000000..ae05b5cf --- /dev/null +++ b/mysql-test/suite/rpl/r/rpl_row_func001.result @@ -0,0 +1,32 @@ +include/master-slave.inc +[connection master] +connection master; +DROP FUNCTION test.f1; +DROP TABLE IF EXISTS test.t1; +create table test.t1 (a int, PRIMARY KEY(a)); +create function test.f1(i int) returns int +begin +insert into test.t1 values(i); +return 0; +end// +select test.f1(1); +test.f1(1) +0 +select test.f1(2); +test.f1(2) +0 +select * from test.t1; +a +1 +2 +connection slave; +connection slave; +select * from test.t1; +a +1 +2 +connection master; +DROP FUNCTION test.f1; +DROP TABLE test.t1; +connection slave; +include/rpl_end.inc |