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

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: 19/Jan/16 05:48 AM
Component/s: Engine
Affects Version/s: 2.1 Alpha 1, 2.1 Beta 1
Fix Version/s: 2.1 Beta 2

Issue Links:

QA Status: Done successfully

 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 ( =
  left join t2 t3
    on (t3.rdb$db_key = t2.rdb$db_key);

 All   Comments   Change History   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