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

Error: 'internal Firebird consistency check' with UNICODE_CI [CORE3379] #3745

Closed
firebird-automations opened this issue Mar 10, 2011 · 4 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Stephan Perktold (stephan)

Duplicates CORE2457

This should be the same problem as described in CORE2457, just that it is still valid for Firebird 2.5 servers

With character set UTF8 and collation UNICODE_CI the following error occurs under special conditions (index and select criteria):

GDS Exception. 335544333. internal Firebird consistency check (Invalid expression for evaluation (303), file: evl.cpp line: 819)

The following simple test case can be used to reproduce the error:

CREATE TABLE TEST (
ID BIGINT NOT NULL,
D DATE,
C VARCHAR(50)
);
ALTER TABLE TEST ADD CONSTRAINT PK_TEST PRIMARY KEY (ID);
CREATE INDEX TEST_IDX1 ON TEST (D, C);
SELECT * FROM TEST WHERE (D > '2000-01-01' AND C='test') ORDER BY D, C

We have to stress the fact that UTF-8 is a must for storing international data. And in order to be accepted by the users, a case insensitive collation is required (for indices).
This bug prevents that we can use UTF-8, which we need for storing reservation data in various languages and character sets (for ex. Cyrillic and Latin-1)

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Duplicate [ 3 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

Link: This issue duplicates CORE2457 [ CORE2457 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

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

1 participant