summaryrefslogtreecommitdiff
path: root/mysql-test/main/lock_multi_bug38691.result
blob: 55836e161f440b5c0ee2e1fedbb1edeeabb5c465 (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
SET @odl_sync_frm = @@global.sync_frm;
SET @@global.sync_frm = OFF;
connect  locker,localhost,root,,;
connect  writer,localhost,root,,;
connection default;
DROP TABLE IF EXISTS t1,t2,t3;
CREATE TABLE t1 (
a int(11) unsigned default NULL,
b varchar(255) default NULL,
UNIQUE KEY a (a),
KEY b (b)
);
INSERT INTO t1 VALUES (1, 1), (2, 2), (3, 3);
CREATE TABLE t2 SELECT * FROM t1;
CREATE TABLE t3 SELECT * FROM t1;
# test altering of columns that multiupdate doesn't use
# normal mode
# PS mode
# test altering of columns that multiupdate uses
# normal mode
connection default;
# PS mode
connection default;
DROP TABLE t1, t2, t3;
disconnect locker;
disconnect writer;
SET @@global.sync_frm = @odl_sync_frm;