summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/rpl/r/rpl_row_sp007_tokudb.result
diff options
context:
space:
mode:
Diffstat (limited to 'storage/tokudb/mysql-test/rpl/r/rpl_row_sp007_tokudb.result')
-rw-r--r--storage/tokudb/mysql-test/rpl/r/rpl_row_sp007_tokudb.result48
1 files changed, 48 insertions, 0 deletions
diff --git a/storage/tokudb/mysql-test/rpl/r/rpl_row_sp007_tokudb.result b/storage/tokudb/mysql-test/rpl/r/rpl_row_sp007_tokudb.result
new file mode 100644
index 00000000000..b783e42bd7b
--- /dev/null
+++ b/storage/tokudb/mysql-test/rpl/r/rpl_row_sp007_tokudb.result
@@ -0,0 +1,48 @@
+include/master-slave.inc
+Warnings:
+Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
+Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
+[connection master]
+CREATE PROCEDURE test.p1(IN i INT)
+BEGIN
+DECLARE CONTINUE HANDLER FOR sqlexception BEGIN END;
+DROP TABLE IF EXISTS test.t1;
+CREATE TABLE test.t1 (num INT,PRIMARY KEY(num))ENGINE=TokuDB;
+START TRANSACTION;
+INSERT INTO test.t1 VALUES(i);
+savepoint t1_save;
+INSERT INTO test.t1 VALUES (14);
+ROLLBACK to savepoint t1_save;
+COMMIT;
+END|
+
+< ---- Master selects-- >
+-------------------------
+CALL test.p1(12);
+SELECT * FROM test.t1;
+num
+12
+
+< ---- Slave selects-- >
+------------------------
+include/sync_slave_sql_with_master.inc
+SELECT * FROM test.t1;
+num
+12
+
+< ---- Master selects-- >
+-------------------------
+CALL test.p1(13);
+SELECT * FROM test.t1;
+num
+13
+
+< ---- Slave selects-- >
+------------------------
+include/sync_slave_sql_with_master.inc
+SELECT * FROM test.t1;
+num
+13
+DROP PROCEDURE test.p1;
+DROP TABLE test.t1;
+include/rpl_end.inc