diff options
author | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2018-12-03 15:57:21 +0530 |
---|---|---|
committer | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2018-12-03 15:57:21 +0530 |
commit | 157d3c3bc109bf13c433d9d150ea0c47291ade0d (patch) | |
tree | 2e2c31a1257d4b8edb7603a07c533b064cd69c34 | |
parent | f2c7972a3da51acd0e869878c0950d546d29a6e9 (diff) | |
download | mariadb-git-157d3c3bc109bf13c433d9d150ea0c47291ade0d.tar.gz |
MDEV-17432 Assertion `lock_trx_has_sys_table_locks(trx) == 0' failed upon ALTER TABLE .. ADD FOREIGN KEY
- Fixed innodb.table_flags test case in release build.
-rw-r--r-- | mysql-test/suite/innodb/r/table_flags.result | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/r/table_flags.result b/mysql-test/suite/innodb/r/table_flags.result index 3684242f765..ab665d46cac 100644 --- a/mysql-test/suite/innodb/r/table_flags.result +++ b/mysql-test/suite/innodb/r/table_flags.result @@ -185,3 +185,8 @@ ib_logfile0 ib_logfile1 ibdata1 sys_tables.bin +call mtr.add_suppression("ERROR HY000: Can't create table `test`.`t1`"); +CREATE TABLE t1(f1 INT, f2 VARCHAR(1), KEY k1(f2), +FULLTEXT KEY(f2), +FOREIGN KEY (f2) REFERENCES t1(f3))ENGINE=InnoDB; +ERROR HY000: Can't create table `test`.`t1` (errno: 150 "Foreign key constraint is incorrectly formed") |