Skip to content

Commit

Permalink
Fixed bug #7710 : Expression index - more than one null value cause a…
Browse files Browse the repository at this point in the history
…ttempt to store duplicate value error - FB5.0 beta 2
  • Loading branch information
hvlad committed Aug 17, 2023
1 parent 1560b52 commit a41b610
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/jrd/btr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,10 +561,12 @@ idx_e IndexKey::compose(Record* record)
else
{
desc_ptr = nullptr;
m_key.key_nulls = 1;
}
}

if (!desc_ptr)
m_key.key_nulls = 1;

m_key.key_flags |= key_empty;

compress(m_tdbb, desc_ptr, &m_key, tail->idx_itype, descending, m_keyType);
Expand Down

0 comments on commit a41b610

Please # to comment.