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

Firebird 4 literal containing crashes server #7276

Closed
tonne1 opened this issue Aug 22, 2022 · 0 comments
Closed

Firebird 4 literal containing crashes server #7276

tonne1 opened this issue Aug 22, 2022 · 0 comments

Comments

@tonne1
Copy link

tonne1 commented Aug 22, 2022

The query below crashes the server. Affected versions 4.0.1 and 4.0.2. 4.0.0 is not affected.
Vlad has already confirmed this.

select a.modul
from tbl2 b
join tbl1 a on a.modul = b.modul
-- where 'TT,T0,T2,T3,T4,T5,T6,T7,T8,T9' containing b.modul -- crashes server
where cast('TT,T0,T2,T3,T4,T5,T6,T7,T8,T9' as varchar(1000)) containing b.modul -- runs ok

test case:

CREATE TABLE tbl1
(
MODUL varchar(10)
);

CREATE TABLE tbl2
(
MODUL varchar(10)
);

insert into tbl1 values('O7');
insert into tbl1 values('DS');
insert into tbl1 values('ET');
insert into tbl1 values('T5');
insert into tbl1 values('EF');

insert into tbl2 values('DG');
insert into tbl2 values('DS');
insert into tbl2 values('EF');
insert into tbl2 values('ET');
insert into tbl2 values('O7');
insert into tbl2 values('T5');

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

3 participants