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-automations opened this issue Apr 18, 2007 · 9 comments

Comments

@firebird-automations
Copy link
Collaborator

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-automations
Copy link
Collaborator Author

Modified by: @hvlad

Link: This issue is related to CORE1053 [ CORE1053 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

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

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Version: 2.1 Alpha 1 [ 10150 ]

Version: 2.1 Beta 1 [ 10141 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA128 [ QA128 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @pcisar

Fix verified for 2.1 Beta 1, test added.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

@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