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

Field definition allows several NOT NULL clauses [CORE5141] #5424

Closed
firebird-automations opened this issue Mar 8, 2016 · 6 comments
Closed

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @aafemt

Assigned to: @aafemt

The following DDL should produce error:
create table t (a integer not null not null not null)

Commits: 1154e8d FirebirdSQL/fbt-repository@ede13e0

@firebird-automations
Copy link
Collaborator Author

Modified by: @aafemt

assignee: Dimitry Sibiryakov [ aafemt ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @aafemt

Now this query producing error "duplicate specification of NOT NULL - not supported" which is consistent with create domain behavior.

@firebird-automations
Copy link
Collaborator Author

Modified by: @aafemt

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

resolution: Fixed [ 1 ]

Fix Version: 4.0 Alpha 1 [ 10731 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: Sean Leyne (seanleyne)

description: Query like this should produce error:
create table t (a integer not null not null not null)

=>

The following DDL should produce error:
create table t (a integer not null not null not null)

summary: Field definition allow several NOT NULL clauses => Field definition allows several NOT NULL clauses

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: No test => Done successfully

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

1 participant