If the current session is using the Strong Session Serializable isolation level advance the session local timestamp oracle to `write_ts`.
(&mut self, timestamp: Timestamp)
| 904 | /// If the current session is using the Strong Session Serializable isolation level advance the |
| 905 | /// session local timestamp oracle to `write_ts`. |
| 906 | pub fn apply_write(&mut self, timestamp: Timestamp) { |
| 907 | if self.vars().transaction_isolation() == &IsolationLevel::StrongSessionSerializable { |
| 908 | self.ensure_local_timestamp_oracle().apply_write(timestamp); |
| 909 | } |
| 910 | } |
| 911 | |
| 912 | /// Returns the [`SessionMetrics`] instance associated with this [`Session`]. |
| 913 | pub fn metrics(&self) -> &SessionMetrics { |
no test coverage detected