Debian Codegraph @

mysql-test/suite/rpl/r/rpl_name_const.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 ==== Initialize ====
7 [on master]
8 create table t1 (id int);
9 ==== create a procedure that has a column aliase in a subquery ====
10 drop procedure if exists test_procedure;
11 create procedure test_procedure(_id int)
12 begin
13 insert into t1 (id)
14 select a.id
15 from
16 ( select _id as id ) a;
17 end;$$
18 ==== enable the binary log, then call the procedure ====
19 call test_procedure(1234);
20 [on slave]
21 include/sync_slave_sql_with_master.inc
22 select * from t1 order by id;
23 id
24 1234
25 ==== Clean up ====
26 [on master]
27 drop table t1;
28 drop procedure test_procedure;
29 include/rpl_end.inc