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 single-segment ascending index on character field with NULL and empty string values [CORE1040] #1457
Comments
Commented by: @hvlad Workaround for version 2.0 : use DESCENDING index All affected indices must be rebuilt by fixed engine (or just perform backup and restore) |
Commented by: @pmakowski Tested ok and Q/A test added |
Modified by: @pmakowskistatus: Resolved [ 5 ] => Closed [ 6 ] |
Commented by: @pcisar Reopened to update ticket information. |
Modified by: @pcisarWorkflow: jira [ 11374 ] => Firebird [ 14626 ] |
Modified by: @pavel-zotovQA Status: No test |
Modified by: @pavel-zotovQA Status: No test => Done successfully |
Submitted by: @hvlad
recreate table t (str varchar(10))
commit
insert into t values ('');
insert into t values (null);
commit
create index t_i on t (str)
commit
select count(*) from t where str = ''
result is 1, as expected
select count(*) from t where str is null
result is 0, wrong
Commits: f206c67 a211ffc
The text was updated successfully, but these errors were encountered: