Optimization problem with VIEW and COALESCE
-------------------------------------------
Key: CORE-4959
URL: http://tracker.firebirdsql.org/browse/CORE-4959
Project: Firebird Core
Issue Type: Bug
Components: Engine
Affects Versions: 2.5.4, 3.0 Beta 1
Reporter: Shiliaev Ruslan
Test case:
CREATE VIEW V(F1, F2) AS
SELECT RDB$SECURITY_CLASS, COALESCE(RDB$SECURITY_CLASS , 'B') FROM RDB$DATABASE
WHERE 1=0;
SELECT 1, V.F1, V.F2
FROM RDB$DATABASE LEFT JOIN V ON 1=0;
CONSTANT 1
F1 <null>
F2 B --?????
--
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
------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel