Issue Details (XML | Word | Printable)

Key: CORE-1334
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Adriano dos Santos Fernandes
Reporter: Adriano dos Santos Fernandes
Votes: 0
Watchers: 0
Operations

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

Joins with NULL RDB$DB_KEY crash the server

Created: 01/Jul/07 07:11 PM   Updated: 04/Oct/08 04:59 PM
Component/s: Engine
Affects Version/s: 2.1 Alpha 1, 2.1 Beta 1
Fix Version/s: 2.1 Beta 2

Time Tracking:
Not Specified

Issue Links:
Relate
 


 Description  « Hide
Test case:

create table t1 (id integer primary key);
create table t2 (id integer references t1);

insert into t1 values (1);
insert into t1 values (2);
insert into t2 values (2);

-- this query crash the server derefering a null pointer
select *
  from t1
  left join t2
    on (t2.id = t1.id)
  left join t2 t3
    on (t3.rdb$db_key = t2.rdb$db_key);


 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Philippe Makowski added a comment - 04/Oct/08 04:59 PM
Q/A test ok