Issue Details (XML | Word | Printable)

Key: CORE-3503
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vlad Khorsun
Reporter: Dmitry Yemanov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

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

Created: 30/May/11 12:18 PM   Updated: 23/Apr/13 12:56 PM
Component/s: Engine
Affects Version/s: 3.0 Initial, 2.5.0
Fix Version/s: 2.5.1, 3.0 Alpha 1

Time Tracking:
Not Specified

Planning Status: Unspecified


 Description  « Hide
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.


 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.