2018-05-02 10:25:34 +02:00
|
|
|
set @@sql_mode = 'STRICT_TRANS_TABLES';
|
2018-05-02 13:12:00 +02:00
|
|
|
CREATE TABLE t1(a INT, v INT AS (a), c INT, d INT NOT NULL, e INT) ENGINE=InnoDB;
|
|
|
|
ALTER TABLE t1 DROP COLUMN c, CHANGE COLUMN e e INT NOT NULL, ALGORITHM=INPLACE;
|
|
|
|
DROP TABLE t1;
|
|
|
|
CREATE TABLE t1 (a INT, v INT AS (a), d INT NOT NULL, e INT) ENGINE=InnoDB;
|
|
|
|
ALTER TABLE t1 FORCE, ALGORITHM=INPLACE;
|
|
|
|
DROP TABLE t1;
|
2018-05-09 15:58:40 +02:00
|
|
|
#
|
|
|
|
# MDEV-16126 Crash or ASAN heap-buffer-overflow in
|
|
|
|
# mach_read_from_n_little_endian upon ALTER TABLE with blob
|
|
|
|
#
|
|
|
|
CREATE TABLE t1(a INT, v INT AS (a), b INT, c BLOB) ENGINE=InnoDB;
|
|
|
|
ALTER TABLE t1 ADD PRIMARY KEY(b);
|
|
|
|
DROP TABLE t1;
|