8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 17:23:03 +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 a2ed8a7059
commit 40d0b4150c

View File

@ -2156,7 +2156,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;