Parsing of recursive query returns error "Column does not belong to referenced table" for source that HAS such column ---------------------------------------------------------------------------------------------------------------------
Key: CORE-4354 URL: http://tracker.firebirdsql.org/browse/CORE-4354 Project: Firebird Core Issue Type: Bug Components: Engine Affects Versions: 3.0 Alpha 2 Reporter: Pavel Zotov LI-T6.3.0.30889 Firebird 3.0 Alpha 2 with recursive b as ( select 0 rc from rdb$database qa union all select b.rc+1 from b join rdb$database q1 on q1.rdb$relation_id*0=b.rc*0 join rdb$database q2 on q2.rdb$relation_id*0=b.rc*0 where b.rc=0 ) select * from b Result: "Column does not belong to referenced table." (seems that it is 'b.rc' column that is source of trouble). Same query in LI-V6.3.3.26744 Firebird 2.5 runs OK and return two rows (0 and 1). The problem disappears if second join: "join rdb$database q2 on q2.rdb$relation_id*0=b.rc*0" - is commented out. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel