Current Path : /usr/opt/mysql57/mysql-test/std_data/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/opt/mysql57/mysql-test/std_data/bug33029-slave-relay-bin.000001 |
ţbinédŐG ^ b 5.0.58-debug-log 8 K , master-bin.000001édŐG ^ b 5.0.58-debug-log édŐG8 K édŐG Z Ľ @ std test DROP TABLE IF EXISTS t1, t2édŐG Y @ std test DROP TRIGGER IF EXISTS tr1édŐG r ‡ @ std test CREATE TABLE t1 (id INT AUTO_INCREMENT PRIMARY KEY)édŐG r ů @ std test CREATE TABLE t2 (id INT AUTO_INCREMENT PRIMARY KEY)édŐG o h @ std test CREATE DEFINER=`root`@`localhost` PROCEDURE p1() BEGIN DECLARE ins_count INT DEFAULT 10; WHILE ins_count > 0 DO INSERT INTO t1 VALUES (NULL); SET ins_count = ins_count - 1; END WHILE; DELETE FROM t1 WHERE id = 1; DELETE FROM t1 WHERE id = 2; DELETE FROM t2 WHERE id = 1; DELETE FROM t2 WHERE id = 2; ENDédŐG { @ std test CREATE DEFINER=`root`@`localhost` PROCEDURE p2() BEGIN INSERT INTO t1 VALUES (NULL); DELETE FROM t1 WHERE id = f1(3); DELETE FROM t1 WHERE id = f1(4); DELETE FROM t2 WHERE id = 3; DELETE FROM t2 WHERE id = 4; ENDédŐG · 2 @ std test CREATE DEFINER=`root`@`localhost` TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN INSERT INTO t2 VALUES (NULL); ENDédŐG ˛ ä @ std test CREATE DEFINER=`root`@`localhost` FUNCTION f1 (i int) RETURNS int BEGIN INSERT INTO t2 VALUES (NULL); RETURN i; ENDédŐG édŐG c c "