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

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: 29/May/15 07:06 PM
Component/s: Engine
Affects Version/s: 3.0 Initial, 2.5.0
Fix Version/s: 2.5.1, 3.0 Alpha 1

QA Status: Done successfully

 Description  « Hide
Test case:

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


-- reconnect;

create or alter view v_test (id)
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   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.