(
catalog_manager: Arc<std::sync::RwLock<CatalogManager>>,
storage: Arc<crate::storage::StorageManager>,
cache_manager: Option<Arc<crate::cache::CacheManager>>,
)
| 34 | |
| 35 | impl SystemProcedures { |
| 36 | pub fn new( |
| 37 | catalog_manager: Arc<std::sync::RwLock<CatalogManager>>, |
| 38 | storage: Arc<crate::storage::StorageManager>, |
| 39 | cache_manager: Option<Arc<crate::cache::CacheManager>>, |
| 40 | ) -> Self { |
| 41 | Self { |
| 42 | catalog_manager, |
| 43 | storage, |
| 44 | cache_manager, |
| 45 | session_provider: None, |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | /// Set the session provider after construction |
| 50 | pub fn with_session_provider(mut self, session_provider: Arc<dyn SessionProvider>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected