We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
CREATE TABLE TEST ( FIELD1 CHAR(10) NOT NULL ); commit;
insert into test(field1) values ('N'); insert into test(field1) values ('N'); insert into test(field1) values ('I'); commit;
CREATE UNIQUE INDEX TEST_I1 ON TEST COMPUTED BY (iif(field1 = 'I', 'I', null)) commit;
On 3.0 and 4.0 it works, but on 5.0 fails:
attempt to store duplicate value (visible to active transactions) in unique index "TEST_I1". Problematic key value is ( = NULL).
The text was updated successfully, but these errors were encountered:
Fixed bug #7710 : Expression index - more than one null value cause a…
a41b610
…ttempt to store duplicate value error - FB5.0 beta 2
We tested it, the fix was correct. Thank you!
Sorry, something went wrong.
hvlad
No branches or pull requests
CREATE TABLE TEST (
FIELD1 CHAR(10) NOT NULL
);
commit;
insert into test(field1) values ('N');
insert into test(field1) values ('N');
insert into test(field1) values ('I');
commit;
CREATE UNIQUE INDEX TEST_I1 ON TEST COMPUTED BY (iif(field1 = 'I', 'I', null))
commit;
On 3.0 and 4.0 it works, but on 5.0 fails:
attempt to store duplicate value (visible to active transactions) in unique index "TEST_I1".
Problematic key value is ( = NULL).
The text was updated successfully, but these errors were encountered: