Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server crashes at runtime when an explicit MERGE plan is specified over a few JOIN ones [CORE1025] #1439

Closed
firebird-automations opened this issue Nov 26, 2006 · 7 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @dyemanov

recreate table t (id int not null);
alter table t add constraint pk primary key (id);

insert into t values (1);
commit;

select *
from t t1, t t2, t t3, t t4
where http://t1.id = http://t2.id
and http://t2.id = http://t3.id
and http://t3.id = http://t4.id
PLAN MERGE (JOIN (T1 NATURAL, T2 INDEX (PK)), JOIN(T3 NATURAL, T4 INDEX (PK)))

the engine reports:
PLAN JOIN (MERGE (SORT (JOIN (T3 NATURAL, T4 INDEX (PK))), SORT (JOIN (T1 NATURAL, T2 INDEX (PK)))), JOIN ())

and crashes in rse.cpp because of rsb_count == 0 (in the last join).

Commits: 6729422 eecccbb

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

Fixed in both v2.0.1 and v2.1.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @pmakowski

Q/A test made ok

@firebird-automations
Copy link
Collaborator Author

Modified by: @pmakowski

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 11358 ] => Firebird [ 15439 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test => Done successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants