summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/lock_multi_bug38499.result
blob: 521ea0108166319cffeb3a727b88aa902570f5d6 (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
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;
CREATE TABLE t1( a INT, b INT );
CREATE TABLE t2( a INT, b INT );
INSERT INTO t1 VALUES (1, 1), (2, 2), (3, 3), (4, 4);
INSERT INTO t2 VALUES (1, 1), (2, 2), (3, 3), (4, 4);
# 1. test regular tables
# 1.1. test altering of columns that multiupdate doesn't use
# 1.1.1. normal mode
# 1.1.2. PS mode
# 1.2. test altering of columns that multiupdate uses
# 1.2.1. normal mode
connection default;
# 1.2.2. PS mode
connection default;
ALTER TABLE t1 ADD COLUMN a INT;
# 2. test UNIONs
# 2.1. test altering of columns that multiupdate doesn't use
# 2.1.1. normal mode
# 2.1.2. PS mode
# 2.2. test altering of columns that multiupdate uses
# 2.2.1. normal mode
connection default;
# 2.2.2. PS mode
connection default;
DROP TABLE t1,t2;
disconnect locker;
disconnect writer;
SET @@global.sync_frm = @odl_sync_frm;