| 704 | } |
| 705 | |
| 706 | bool NodeGroup::isVisibleNoLock(const Transaction* transaction, row_idx_t rowIdxInGroup) const { |
| 707 | const auto* chunkedGroup = findChunkedGroupFromRowIdxNoLock(rowIdxInGroup); |
| 708 | if (!chunkedGroup) { |
| 709 | return false; |
| 710 | } |
| 711 | const auto rowIdxInChunkedGroup = rowIdxInGroup - chunkedGroup->getStartRowIdx(); |
| 712 | return !chunkedGroup->isDeleted(transaction, rowIdxInChunkedGroup) && |
| 713 | chunkedGroup->isInserted(transaction, rowIdxInChunkedGroup); |
| 714 | } |
| 715 | |
| 716 | bool NodeGroup::isDeleted(const Transaction* transaction, offset_t offsetInGroup) const { |
| 717 | const auto lock = chunkedGroups.lock(); |
no test coverage detected