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

parsing error recursive query with two recursive parts [CORE2943] #3325

Closed
firebird-issue-importer opened this issue Mar 25, 2010 · 8 comments
Closed

Comments

@firebird-issue-importer

Submitted by: Alex Bekhtin (afgm)

Is related to QA277

-- correct
with recursive
tree (NAME) as (
select r.rdb$relation_name from rdb$relations r
union all
select r2.rdb$relation_name || http://tree.NAME from rdb$relations r2, tree
where 1 = 0
)
select * from tree

-- incrorrect
with recursive
tree (NAME) as (
select r.rdb$relation_name from rdb$relations r
union all
select r2.rdb$relation_name || http://tree.NAME from rdb$relations r2, tree
where 1 = 0
),
tree_2 as (
select c.rdb$character_set_name from rdb$character_sets c
union all
select c2.rdb$character_set_name from rdb$character_sets c2, tree_2
where 1 = 0
)
select * from tree, tree_2

-------------
Dynamic SQL Error.
SQL error code = -206.
Column unknown.
http://TREE.NAME.
At line 5, column 43.

Commits: 25c5d1a 8dc2601 6d9f5e2

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Mar 25, 2010

Modified by: @hvlad

assignee: Vlad Khorsun [ hvlad ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Mar 25, 2010

Modified by: @hvlad

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

resolution: Fixed [ 1 ]

Fix Version: 2.5 RC3 [ 10381 ]

Fix Version: 2.1.4 [ 10361 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Mar 25, 2010

Commented by: @hvlad

The bug present since initial CTE implementation

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Mar 25, 2010

Modified by: @hvlad

Version: 2.5 RC1 [ 10362 ]

Version: 2.1.3 [ 10302 ]

Version: 2.5 Beta 2 [ 10300 ]

Version: 2.5 Beta 1 [ 10251 ]

Version: 2.1.2 [ 10270 ]

Version: 2.1.1 [ 10223 ]

Version: 2.5 Alpha 1 [ 10224 ]

Version: 2.1.0 [ 10041 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 23, 2011

Modified by: @pcisar

Link: This issue is related to QA277 [ QA277 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 3, 2011

Commented by: @pmakowski

Q/A test ok

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 3, 2011

Modified by: @pmakowski

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jul 28, 2015

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