blob: b99906b8d035de117322da348c6d67463c521163 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--source include/have_binlog_format_statement.inc
--source include/master-slave.inc
--echo #
--echo # MDEV-11815 SP variables of temporal data types do not replicate correctly
--echo #
connection master;
CREATE TABLE t1(a INT);
DELIMITER $$;
CREATE PROCEDURE p1()
BEGIN
DECLARE a TIME DEFAULT '01:01:01';
INSERT INTO t1 VALUES (a=10101);
END;
$$
DELIMITER ;$$
CALL p1;
SELECT * FROM t1;
sync_slave_with_master;
SELECT * FROM t1;
connection master;
DROP TABLE t1;
DROP PROCEDURE p1;
sync_slave_with_master;
--source include/rpl_end.inc
|