mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
20 lines
584 B
Text
20 lines
584 B
Text
|
DROP TABLE IF EXISTS t1;
|
||
|
CREATE TABLE t1( a INT, b INT );
|
||
|
INSERT INTO t1 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
|
||
|
# 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
|
||
|
DROP TABLE t1;
|