| 1582 | } |
| 1583 | |
| 1584 | MultiVersionTransaction::~MultiVersionTransaction() { |
| 1585 | timeoutTsav->trySendError(transaction_cancelled()); |
| 1586 | if (currentTimeout.isValid()) { |
| 1587 | currentTimeout.cancel(); |
| 1588 | } |
| 1589 | } |
| 1590 | |
| 1591 | bool MultiVersionTransaction::isValid() { |
| 1592 | auto tr = getTransaction(); |
nothing calls this directly
no test coverage detected