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

Computed column appears in non-existant rows of left join [CORE3874] #4211

Closed
firebird-automations opened this issue Jun 22, 2012 · 8 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Firebird admin _ RxStrategies Inc (rxstrategies)

Relate to CORE4201
Is related to QA520

I expect the following script would return a single row with a single column containing NULL, since TEST_TABLE is not populated.
Instead the computed column is returned.

CREATE TABLE TEST_TABLE
(
ID INTEGER,
COMPUTED_COL VARCHAR(6) COMPUTED BY ('FAILED')
);

SELECT t.COMPUTED_COL
FROM RDB$DATABASE r
LEFT JOIN TEST_TABLE t
ON r.RDB$RELATION_ID = http://t.ID

COMPUTED_COL
------------
FAILED

Commits: 93eb387 bfcd129 FirebirdSQL/fbt-repository@b555379 FirebirdSQL/fbt-repository@3bba0c3

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

Backported into v2.5.3.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Version: 2.5.2 Update 1 [ 10521 ]

Version: 2.5.2 [ 10450 ]

Version: 2.5.0 [ 10221 ]

Fix Version: 2.5.3 [ 10461 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Link: This issue relate to CORE4201 [ CORE4201 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA520 [ QA520 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pmakowski

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: Done successfully

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