Debian Codegraph @

mysql-test/suite/rpl/r/rpl_row_func001.result

raw
1 include/master-slave.inc
2 Warnings:
3 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
4 Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
5 [connection master]
6 DROP FUNCTION test.f1;
7 DROP TABLE IF EXISTS test.t1;
8 create table test.t1 (a int, PRIMARY KEY(a));
9 create function test.f1(i int) returns int
10 begin
11 insert into test.t1 values(i);
12 return 0;
13 end//
14 select test.f1(1);
15 test.f1(1)
16 0
17 select test.f1(2);
18 test.f1(2)
19 0
20 select * from test.t1;
21 a
22 1
23 2
24 include/sync_slave_sql_with_master.inc
25 select * from test.t1;
26 a
27 1
28 2
29 DROP FUNCTION test.f1;
30 DROP TABLE test.t1;
31 include/sync_slave_sql_with_master.inc
32 include/rpl_end.inc