Compare commits

...

1 Commits

Author SHA1 Message Date
ff4b9cd24d dead code cleanup, no-op 2026-07-17 19:18:53 -04:00
2 changed files with 0 additions and 9 deletions

View File

@ -85,10 +85,6 @@ impl DatabaseExecutor for MockExecutor {
Ok("2026-03-10T00:00:00Z".to_string())
}
fn is_mock(&self) -> bool {
true
}
#[cfg(test)]
fn get_queries(&self) -> Vec<String> {
MOCK_STATE.with(|state| state.borrow().captured_queries.clone())

View File

@ -20,11 +20,6 @@ pub trait DatabaseExecutor: Send + Sync {
/// Returns the current transaction timestamp
fn timestamp(&self) -> Result<String, String>;
/// Returns whether this is a mock executor (bypassing pg_catalog index checks)
fn is_mock(&self) -> bool {
false
}
#[cfg(test)]
fn get_queries(&self) -> Vec<String>;