| 76 | } |
| 77 | |
| 78 | void RelTableScanState::initState(Transaction* transaction, NodeGroup* nodeGroup, |
| 79 | bool resetCachedBoundNodeIDs) { |
| 80 | this->nodeGroup = nodeGroup; |
| 81 | if (resetCachedBoundNodeIDs) { |
| 82 | initCachedBoundNodeIDSelVector(); |
| 83 | } |
| 84 | if (this->nodeGroup) { |
| 85 | initStateForCommitted(transaction); |
| 86 | } else if (hasUnCommittedData()) { |
| 87 | initStateForUncommitted(); |
| 88 | } else { |
| 89 | source = TableScanSource::NONE; |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | void RelTableScanState::initCachedBoundNodeIDSelVector() { |
| 94 | if (nodeIDVector->state->getSelVector().isUnfiltered()) { |
no outgoing calls
no test coverage detected