summaryrefslogtreecommitdiff
path: root/mysql-test/suite/tokudb.bugs/r/rpl_stmt_replace_into.result
blob: 0f944801ebf7a9957bc3c74693014264aa3eafe0 (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
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]
set default_storage_engine='tokudb';
drop table if exists testr;
CREATE TABLE testr (pk int(11) NOT NULL AUTO_INCREMENT, num int(11) DEFAULT NULL, txt varchar(32) DEFAULT NULL, PRIMARY KEY (pk) );
INSERT INTO testr VALUES (1,1,'one'),(2,2,'two'),(3,3,'three'),(4,4,'four');
replace into testr values (2,2,'twotwo');
select * from testr;
pk	num	txt
1	1	one
2	2	twotwo
3	3	three
4	4	four
select * from testr;
pk	num	txt
1	1	one
2	2	twotwo
3	3	three
4	4	four
drop table testr;
include/rpl_end.inc