hyrise-v1
hyrise-v1 copied to clipboard
Store::isVisibleForTransaction is misleading
Store::isVisibleForTransaction
does not check if a row has been deleted by a transaction. While ValidatePositions does a check based on the modification list, a user might assume that isVisibleForTransaction
is also covering that case.
Suggestion? Add a comment regarding this? I'll also take naming suggestions.
Correct me if I'm mistaken, but can't we cover that case by simply negating the result of the CID checks if tidVector[row] == tid
?
That method used to be way better documented than it is right now. I'll check that in the morning.