From e1ffa20e973b717aea1e306da642a1f8db8ee501 Mon Sep 17 00:00:00 2001 From: Dmitry Yemanov Date: Mon, 23 Sep 2024 18:06:44 +0300 Subject: [PATCH] Fix #8250: Bad performance on simple three-way join over the same set of fields --- src/jrd/optimizer/Optimizer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jrd/optimizer/Optimizer.h b/src/jrd/optimizer/Optimizer.h index 02187df567..36c4a00a9e 100644 --- a/src/jrd/optimizer/Optimizer.h +++ b/src/jrd/optimizer/Optimizer.h @@ -844,7 +844,7 @@ class InnerJoin : private Firebird::PermanentStorage struct JoinedStreamInfo { - static const unsigned MAX_EQUI_MATCHES = 4; + static const unsigned MAX_EQUI_MATCHES = 8; void reset (StreamType num) {