summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/innodb/r/innodb_bug12902967.result
blob: ddb2e12f26ad9dae67c56a7b039cdb5698b1ebfe (plain)
1
2
3
4
5
6
call mtr.add_suppression("In ALTER TABLE .* has or is referenced in foreign key constraints which are not compatible with the new table definition.");
# restart
create table t1 (f1 integer primary key) engine innodb;
alter table t1 add constraint c1 foreign key (f1) references t1(f1);
ERROR HY000: Error on rename of '#sql-alter' to './test/t1' (errno: 150 "Foreign key constraint is incorrectly formed")
drop table t1;