Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing constraint name in foreign key error message in FB 2.1.4 [CORE3691] #4039

Closed
firebird-automations opened this issue Dec 5, 2011 · 7 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: michalk1 (michalk1)

Is related to QA471

Missing constraint name is specific to FB 2.1.4, which is probably side effect of CORE2289 fix.

ALTER TABLE DETAIL ADD CONSTRAINT DETAIL_FK FOREIGN KEY (ID) REFERENCES MASTER (ID);
COMMIT;

FB 2.1.3, FB 2.5.1 (correct):
violation of FOREIGN KEY constraint "".
violation of FOREIGN KEY constraint "DETAIL_FK" on table "DETAIL".
Foreign key reference target does not exist.

FB 2.1.4 (constraint name missing):
violation of FOREIGN KEY constraint "".
violation of FOREIGN KEY constraint "***unknown***" on table "DETAIL".
Foreign key reference target does not exist.

Commits: ba4d4fa

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

Fix for CORE2289 was not fully backported into v2.1.4.

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

assignee: Vlad Khorsun [ hvlad ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.1.5 [ 10420 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA471 [ QA471 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: Done successfully

@firebird-automations
Copy link
Collaborator Author

Commented by: @pcisar

Test created.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants