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

GTT should not reference permanent relation [CORE4214] #4539

Closed
firebird-automations opened this issue Sep 10, 2013 · 12 comments
Closed

GTT should not reference permanent relation [CORE4214] #4539

firebird-automations opened this issue Sep 10, 2013 · 12 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @hvlad

Is related to CORE4212
Is related to QA517

Test case is at CORE4212

Commits: 8611366 3c4c095 3f04a23 FirebirdSQL/fbt-repository@739237e FirebirdSQL/fbt-repository@ecbbced FirebirdSQL/fbt-repository@5e64b98

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

Link: This issue is related to CORE4212 [ CORE4212 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

assignee: Vlad Khorsun [ hvlad ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

v2.1 also affected

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

Fix Version: 2.1.5 Update 1 [ 10522 ]

Fix Version: 2.1.5 [ 10420 ]

Fix Version: 2.1.4 [ 10361 ]

Fix Version: 2.1.3 [ 10302 ]

Fix Version: 2.1.2 [ 10270 ]

Fix Version: 2.1.1 [ 10223 ]

Fix Version: 2.1.0 [ 10041 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

Version: 2.1.5 Update 1 [ 10522 ]

Version: 2.1.5 [ 10420 ]

Version: 2.1.4 [ 10361 ]

Version: 2.1.3 [ 10302 ]

Version: 2.1.2 [ 10270 ]

Version: 2.1.1 [ 10223 ]

Version: 2.1.0 [ 10041 ]

Fix Version: 2.5.3 [ 10461 ]

Fix Version: 3.0 Alpha 2 [ 10560 ]

Fix Version: 2.1.6 [ 10460 ]

Fix Version: 2.1.5 Update 1 [ 10522 ] =>

Fix Version: 2.1.5 [ 10420 ] =>

Fix Version: 2.1.4 [ 10361 ] =>

Fix Version: 2.1.3 [ 10302 ] =>

Fix Version: 2.1.2 [ 10270 ] =>

Fix Version: 2.1.1 [ 10223 ] =>

Fix Version: 2.1.0 [ 10041 ] =>

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

The bug could happen when CREATE TABLE contains more than one FOREIGN KEY constraints

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

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

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: Sean Leyne (seanleyne)

Clarification on SQL Standard:

The spec only allows permanent tables to reference permanent tables, and GTTs to reference GTTs.

So, GTT can only have dependencies/references to another GTT.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA517 [ QA517 ]

@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