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

Wrong SELECT query results using index to evaluate >= condition [CORE1215] #1639

Closed
firebird-issue-importer opened this issue Apr 18, 2007 · 9 comments

Comments

@firebird-issue-importer

Submitted by: @hvlad

Is related to CORE1053
Is related to QA128

CREATE TABLE T (ID INT);
COMMIT;

EXECUTE BLOCK AS
DECLARE I INT = 0;
BEGIN
WHILE (I < 5000) DO
BEGIN
INSERT INTO T VALUES (1);
I = I + 1;
END
END

CREATE INDEX IDX_T ON T (ID);
COMMIT;

SELECT COUNT(*) FROM T WHERE ID >= 1

To make error happens index must have more than one leaf pages
This bug is is because not complete forward porting fix for CORE1053 from 2.0.1

Commits: 7b020a5

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 18, 2007

Modified by: @hvlad

Link: This issue is related to CORE1053 [ CORE1053 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 18, 2007

Modified by: @hvlad

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

resolution: Fixed [ 1 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 21, 2007

Modified by: @pcisar

Version: 2.1 Alpha 1 [ 10150 ]

Version: 2.1 Beta 1 [ 10141 ] =>

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 17, 2007

Modified by: @pcisar

Link: This issue is related to QA128 [ QA128 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jul 10, 2007

Commented by: @pcisar

Fix verified for 2.1 Beta 1, test added.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jul 10, 2007

Modified by: @pcisar

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 28, 2008

Modified by: @pcisar

Workflow: jira [ 11887 ] => Firebird [ 15518 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2016

Modified by: @pavel-zotov

QA Status: No test

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2016

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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants