Set auto-commit mode
(&self, enabled: bool)
| 72 | |
| 73 | /// Set auto-commit mode |
| 74 | pub fn set_auto_commit(&self, enabled: bool) -> Result<(), ExecutionError> { |
| 75 | let mut auto_commit = self.auto_commit.write().map_err(|_| { |
| 76 | ExecutionError::RuntimeError("Failed to update auto-commit state".to_string()) |
| 77 | })?; |
| 78 | *auto_commit = enabled; |
| 79 | Ok(()) |
| 80 | } |
| 81 | |
| 82 | /// Get the isolation level |
| 83 | pub fn isolation_level(&self) -> Result<IsolationLevel, ExecutionError> { |
nothing calls this directly
no outgoing calls
no test coverage detected