8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 02:03:04 +01:00

Fixed #8136: Server crashes with IN (dbkey1, dbkey2, ...) condition

This commit is contained in:
Dmitry Yemanov 2024-05-28 09:01:30 +03:00
parent c12fbbb762
commit de77269261

View File

@ -2162,7 +2162,7 @@ InversionCandidate* Retrieval::matchDbKey(BoolExprNode* boolean) const
{
const auto inversion = FB_NEW_POOL(getPool()) InversionNode(value, n);
inversion->impure = csb->allocImpure<impure_inversion>();
listInversion = composeInversion(listInversion, inversion, InversionNode::TYPE_IN);
listInversion = composeInversion(listInversion, inversion, InversionNode::TYPE_OR);
}
invCandidate->inversion = listInversion;