diff --git a/src/database/executors/mock.rs b/src/database/executors/mock.rs index 32ed60d..4a037b6 100644 --- a/src/database/executors/mock.rs +++ b/src/database/executors/mock.rs @@ -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 { MOCK_STATE.with(|state| state.borrow().captured_queries.clone()) diff --git a/src/database/executors/mod.rs b/src/database/executors/mod.rs index 5469776..3923d13 100644 --- a/src/database/executors/mod.rs +++ b/src/database/executors/mod.rs @@ -20,11 +20,6 @@ pub trait DatabaseExecutor: Send + Sync { /// Returns the current transaction timestamp fn timestamp(&self) -> Result; - /// 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;