mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
6fc42540f8
UNHANDLED, CONFUSING ERROR The main confusion with the error message is that "it implies that your data dictionary may now be out of sync". This patch will remove the unwanted and the misleading error message by not doing an unnecessary operation in the error handling code. rb://980 approved by: Dmitry Lenev
6 lines
337 B
Text
6 lines
337 B
Text
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-temporary' to './test/t1' (errno: 150)
|
|
InnoDB: which are not compatible with the new table definition.
|
|
InnoDB: has or is referenced in foreign key constraints
|
|
drop table t1;
|