mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Fix test failure on gcol.innodb_virtual_basic.
This commit is contained in:
@@ -209,7 +209,7 @@ CREATE TABLE t1(a INT);
|
||||
CREATE INDEX idx ON t1(a);
|
||||
CREATE TABLE t3(a INT, b INT , INDEX(b), CONSTRAINT x FOREIGN KEY(b) REFERENCES t1(a));
|
||||
CREATE TABLE t2(a INT, b INT generated always as (a+1) virtual, INDEX(b), CONSTRAINT x FOREIGN KEY(b) REFERENCES t1(a));
|
||||
ERROR HY000: Can't create table `test`.`t2` (errno: 150 "Foreign key constraint is incorrectly formed")
|
||||
ERROR HY000: Can't create table `test`.`t2` (errno: 121 "Duplicate key on write or update")
|
||||
CREATE TABLE t2(a INT, b INT generated always as (a+1) virtual, INDEX(b));
|
||||
DROP TABLE t3;
|
||||
DROP TABLE t2;
|
||||
|
Reference in New Issue
Block a user