Commit 9f7dc2bb authored by Sergei Petrunia's avatar Sergei Petrunia

MariaRocks port: make rocksdb.rpl_savepoint pass

Run it only with binlog_format=row, update test result
parent 24224839
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]
connection master;
drop table if exists t1;
connection master;
create table t1 (id int primary key, value int);
insert into t1 values (1,1), (2,2), (3,3);
begin;
......@@ -21,11 +20,13 @@ id value
2 2
3 3
include/sync_slave_sql_with_master.inc
connection slave;
select * from t1;
id value
1 1
2 2
3 3
connection master;
begin;
insert into t1 values (21, 1);
savepoint a;
......@@ -43,11 +44,13 @@ id value
2 2
3 3
include/sync_slave_sql_with_master.inc
connection slave;
select * from t1;
id value
1 1
2 2
3 3
connection master;
begin;
insert into t1 values (31, 1);
savepoint a;
......@@ -65,11 +68,13 @@ id value
2 2
3 3
include/sync_slave_sql_with_master.inc
connection slave;
select * from t1;
id value
1 1
2 2
3 3
connection master;
SET autocommit=off;
select * from t1;
id value
......@@ -94,10 +99,12 @@ id value
2 2
3 3
include/sync_slave_sql_with_master.inc
connection slave;
select * from t1;
id value
1 1
2 2
3 3
connection master;
drop table t1;
include/rpl_end.inc
!include suite/rpl/my.cnf
[mysqld.1]
binlog_format=row
[mysqld.2]
binlog_format=row
--source include/have_rocksdb.inc
source include/have_binlog_format_row.inc;
source include/master-slave.inc;
connection master;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment