| 250 | |
| 251 | |
| 252 | HashJoin::HashJoin(thread_db* tdbb, CompilerScratch* csb, JoinType joinType, |
| 253 | FB_SIZE_T count, RecordSource* const* args, NestValueArray* const* keys, |
| 254 | double selectivity) |
| 255 | : RecordSource(csb), |
| 256 | m_joinType(joinType), |
| 257 | m_boolean(nullptr), |
| 258 | m_args(csb->csb_pool, count - 1) |
| 259 | { |
| 260 | fb_assert(count >= 2); |
| 261 | |
| 262 | init(tdbb, csb, count, args, keys, selectivity); |
| 263 | } |
| 264 | |
| 265 | HashJoin::HashJoin(thread_db* tdbb, CompilerScratch* csb, |
| 266 | BoolExprNode* boolean, |