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

Can't create column check constraint when the column is domain based [CORE4585] #4901

Closed
firebird-automations opened this issue Oct 20, 2014 · 5 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: michalk1 (michalk1)

The following table creation statement throws an error in FB 3.0.0.31384. It works correctly in FB 2.5.

CREATE DOMAIN dMYINT AS INTEGER;

CREATE TABLE TEST
(
TESTFLD dMYINT CHECK (TESTFLD > 0)
);

unsuccessful metadata update
CREATE TABLE TEST failed
Dynamic SQL Error
SQL error code = -203
Inappropriate self-reference of column

Commits: 5393b8c FirebirdSQL/fbt-repository@cd4ae70

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Regression: 3.0.0 [ 10048 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Regression: 3.0.0 [ 10048 ] => 3.0 Beta 1 [ 10332 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Fix Version: 3.0 RC 1 [ 10584 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: Done successfully

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