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,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
|
|
|
|
# PS mode
|
|
|
|
DROP TABLE t1, t2, t3;
|
2009-08-28 23:49:16 +02:00
|
|
|
SET @@global.sync_frm = @odl_sync_frm;
|