ALTER VIEW crashes the server if the new version has an artificial (aggregate 
or union) stream at the position of a regular context in the older version
--------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: CORE-3503
                 URL: http://tracker.firebirdsql.org/browse/CORE-3503
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 2.5.0, 3.0 Initial
            Reporter: Dmitry Yemanov


Test case:

create or alter view v_test (id, col)
as
select rdb$relation_id, 1 from rdb$relations;

commit;

-- reconnect;

create or alter view v_test (id)
as
select rdb$relation_id from rdb$relations
union all
select rdb$relation_id from rdb$relations;

commit; -- here the crash happens

This is a regression introduced while fixing CORE-2386.


-- 
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

        

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to