| 692 | } |
| 693 | |
| 694 | void InitHasMatchIfNeeded(ThreadLocalState* local_state) { |
| 695 | if (local_state->is_has_match_initialized) { |
| 696 | return; |
| 697 | } |
| 698 | if (!hash_table_empty_) { |
| 699 | int32_t num_rows = hash_table_keys_.num_rows(); |
| 700 | local_state->has_match.resize(bit_util::BytesForBits(num_rows)); |
| 701 | memset(local_state->has_match.data(), 0, bit_util::BytesForBits(num_rows)); |
| 702 | } |
| 703 | local_state->is_has_match_initialized = true; |
| 704 | } |
| 705 | |
| 706 | void MergeHasMatch() { |
| 707 | if (hash_table_empty_) { |
nothing calls this directly
no test coverage detected