dead code cleanup, no-op

This commit is contained in:
2026-07-17 19:18:53 -04:00
parent 68c7c6b77f
commit ff4b9cd24d
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()) Ok("2026-03-10T00:00:00Z".to_string())
} }
fn is_mock(&self) -> bool {
true
}
#[cfg(test)] #[cfg(test)]
fn get_queries(&self) -> Vec<String> { fn get_queries(&self) -> Vec<String> {
MOCK_STATE.with(|state| state.borrow().captured_queries.clone()) 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 /// Returns the current transaction timestamp
fn timestamp(&self) -> Result<String, String>; 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)] #[cfg(test)]
fn get_queries(&self) -> Vec<String>; fn get_queries(&self) -> Vec<String>;