mirror of
https://github.com/MariaDB/server.git
synced 2025-04-08 00:05:34 +02:00
17 lines
453 B
Text
17 lines
453 B
Text
connection node_2;
|
|
connection node_1;
|
|
CREATE TABLE t1 (id INT PRIMARY KEY) ENGINE=InnoDB;
|
|
connection node_2;
|
|
FLUSH TABLES WITH READ LOCK;
|
|
connection node_1;
|
|
ALTER TABLE t1 ADD COLUMN f2 INTEGER;
|
|
connection node_2;
|
|
UNLOCK TABLES;
|
|
SHOW CREATE TABLE t1;
|
|
Table Create Table
|
|
t1 CREATE TABLE `t1` (
|
|
`id` int(11) NOT NULL,
|
|
`f2` int(11) DEFAULT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
|
DROP TABLE t1;
|