1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-19085: Remove a bogus debug assertion

MariaDB does support InnoDB tables with no stored columns.
(They are necessarily empty.)
This commit is contained in:
Marko Mäkelä
2019-04-02 16:40:27 +03:00
parent 5633f83ca4
commit e3f44d8d0e
3 changed files with 18 additions and 1 deletions

View File

@@ -1485,3 +1485,13 @@ SELECT * FROM t1;
a b
f1
DROP TABLE t1;
CREATE TABLE t1 (a INT GENERATED ALWAYS AS(1) VIRTUAL) ENGINE=InnoDB;
ALTER TABLE t1 ADD b INT GENERATED ALWAYS AS (2) VIRTUAL;
ALTER TABLE t1 ADD c INT;
SELECT * FROM t1;
a b c
INSERT INTO t1 SET c=3;
SELECT * FROM t1;
a b c
1 2 3
DROP TABLE t1;