src/backend/concurrency/optimistic_txn_manager.cpp
// check whether the current transaction owns the tuple.
// this function is called by update/delete executors.
check whether the current transaction owns the tuple.
this function is called by update/delete executors.
check whether the current transaction owns the tuple . this function is called by update / delete executors .
bool OptimisticTxnManager::IsOwner(
    const storage::TileGroupHeader *const tile_group_header,
    const oid_t &tuple_id) {
  auto tuple_txn_id = tile_group_header->GetTransactionId(tuple_id);
  return tuple_txn_id == current_txn->GetTransactionId();
}
bool OptimisticTxnManager :: IsOwner ( const storage :: TileGroupHeader * const tile_group_header , const oid_t & tuple_id ) { auto tuple_txn_id = tile_group_header -> GetTransactionId ( tuple_id ) ; return tuple_txn_id == current_txn -> GetTransactionId ( ) ; }
check whether the current transaction owns the tuple.
check whether the current transaction owns the tuple .