Skip to content

Commit fea4959

Browse files
author
Jan Lindström
committed
Fix test failure on gcol.innodb_virtual_basic.
1 parent a5f6b4f commit fea4959

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql-test/suite/gcol/r/innodb_virtual_basic.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ CREATE TABLE t1(a INT);
209209
CREATE INDEX idx ON t1(a);
210210
CREATE TABLE t3(a INT, b INT , INDEX(b), CONSTRAINT x FOREIGN KEY(b) REFERENCES t1(a));
211211
CREATE TABLE t2(a INT, b INT generated always as (a+1) virtual, INDEX(b), CONSTRAINT x FOREIGN KEY(b) REFERENCES t1(a));
212-
ERROR HY000: Can't create table `test`.`t2` (errno: 150 "Foreign key constraint is incorrectly formed")
212+
ERROR HY000: Can't create table `test`.`t2` (errno: 121 "Duplicate key on write or update")
213213
CREATE TABLE t2(a INT, b INT generated always as (a+1) virtual, INDEX(b));
214214
DROP TABLE t3;
215215
DROP TABLE t2;

0 commit comments

Comments
 (0)