2009-08-28 23:49:16 +02:00
|
|
|
SET @odl_sync_frm = @@global.sync_frm;
|
|
|
|
SET @@global.sync_frm = OFF;
|
2009-03-23 15:22:31 +01:00
|
|
|
DROP TABLE IF EXISTS t1;
|
|
|
|
CREATE TABLE t1( a INT, b INT );
|
2010-05-26 22:18:18 +02:00
|
|
|
CREATE TABLE t2( a INT, b INT );
|
2009-03-23 15:22:31 +01:00
|
|
|
INSERT INTO t1 VALUES (1, 1), (2, 2), (3, 3), (4, 4);
|
2010-05-26 22:18:18 +02:00
|
|
|
INSERT INTO t2 VALUES (1, 1), (2, 2), (3, 3), (4, 4);
|
2009-03-23 15:22:31 +01:00
|
|
|
# 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
|
|
|
|
# 1.2.2. PS mode
|
|
|
|
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
|
|
|
|
# 2.2.2. PS mode
|
2010-05-26 22:18:18 +02:00
|
|
|
DROP TABLE t1,t2;
|
2009-08-28 23:49:16 +02:00
|
|
|
SET @@global.sync_frm = @odl_sync_frm;
|