summaryrefslogtreecommitdiffstats
path: root/storage/rocksdb/mysql-test/rocksdb_rpl/r/rpl_ddl_high_priority.result
blob: 8a1fd1b94e09f09ad85b9fd7f59b2a506eee836d (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
31
32
33
34
35
36
37
38
39
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]
include/rpl_connect.inc [creating slave_block]
drop table if exists t1;
create table t1 (i int);
show create table t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `i` int(11) DEFAULT NULL
) ENGINE=ROCKSDB DEFAULT CHARSET=latin1
insert into t1 values (1), (2), (3);
connection slave
select * from t1;
i
1
2
3
connection slave_block
lock tables t1 read;
connection master;
create high_priority index idx1 on t1 (i);
show create table t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `i` int(11) DEFAULT NULL,
  KEY `idx1` (`i`)
) ENGINE=ROCKSDB DEFAULT CHARSET=latin1
connection slave;
show create table t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `i` int(11) DEFAULT NULL,
  KEY `idx1` (`i`)
) ENGINE=ROCKSDB DEFAULT CHARSET=latin1
drop table t1;
include/rpl_end.inc