Foreign key can be created on field with different types then referenced table - this should not be possible ------------------------------------------------------------------------------------------------------------
Key: CORE-4039 URL: http://tracker.firebirdsql.org/browse/CORE-4039 Project: Firebird Core Issue Type: Bug Components: Engine Affects Versions: 2.5.2, 2.5.3 Reporter: Karol Bieniaszewski CREATE TABLE AAA ( ID SMALLINT NOT NULL PRIMARY KEY ); CREATE TABLE BBB (ID SMALLINT NOT NULL PRIMARY KEY, ID_AAA INTEGER ); commit; alter table bbb add FOREIGN KEY(ID_AAA) REFERENCES AAA(ID) ON UPDATE CASCADE ON DELETE NO ACTION; ------------------------------------ as you see we was created field reference between smallint and integer - this should not be possible -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel