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

Expression in a subquery may be treated as invariant and produce incorrect results [CORE2893] #3277

Closed
firebird-issue-importer opened this issue Feb 27, 2010 · 10 comments

Comments

@firebird-issue-importer

Submitted by: @asfernandes

Is duplicated by CORE3031
Is duplicated by CORE2925
Relate to CORE3096
Is related to QA431

create table z (c varchar(10));

insert into z values (1);
insert into z values (1);
insert into z values (2);
insert into z values (3);

commit;

select c from z where (select z.c || '' from rdb$database) = '1';

C

1
1
2
3

Commits: 88845a9 a731f0f e079a8f

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 28, 2010

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 28, 2010

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 4, 2010

Modified by: @asfernandes

Link: This issue is duplicated by CORE3031 [ CORE3031 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 4, 2010

Modified by: @asfernandes

summary: Expression in a subquery in WHERE is treated as invariant and produce incorrect results => Expression in a subquery may be treated as invariant and produce incorrect results

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 13, 2010

Modified by: @asfernandes

Link: This issue is duplicated by CORE2925 [ CORE2925 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 13, 2010

Modified by: @asfernandes

Fix Version: 2.5 RC3 [ 10381 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Aug 6, 2010

Modified by: @asfernandes

Link: This issue relate to CORE3096 [ CORE3096 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 24, 2011

Modified by: @pcisar

Link: This issue is related to QA431 [ QA431 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 15, 2011

Modified by: @pmakowski

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Aug 29, 2015

Modified by: @pavel-zotov

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

QA Status: Done successfully

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