Query with SP doesn't accept explicit plan ------------------------------------------
Key: CORE-3451 URL: http://tracker.firebirdsql.org/browse/CORE-3451 Project: Firebird Core Issue Type: Bug Affects Versions: 2.5.0 Reporter: Pavel Cisar Priority: Minor Test query for CORE-3450 doesn't accept explicit execution plan. select t2.fld1 from tmp_tbl2 t2 join tmp_tbl1 t1 on t1.fld1=t2.fld1 join tmp_sp1 on tmp_sp1.fld1=t1.fld2 join tmp_tbl3 t3 on t3.fld1=t1.fld3 where t2.fld2=2 PLAN JOIN (JOIN (TMP_SP1 NATURAL, T1 INDEX (TMP_TBL1_FLD2)), T2 INDEX (TMP_TBL2_FLD1), T3 INDEX (TMP_TBL3_FLD1)) ; return error: Engine Code : 335544569 Engine Message : Dynamic SQL Error SQL error code = -104 Invalid command there is no alias or table named TMP_SP1 at this scope level The explicit plan is exactly the one returned for the query. -- 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 ------------------------------------------------------------------------------ Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel