| 104 | } |
| 105 | |
| 106 | void StorageManager::setCachedPlannerTableStats(PlannerTableStats stats) { |
| 107 | std::unique_lock lck{plannerStatsMtx}; |
| 108 | plannerStatsCache.insert_or_assign(stats.tableID, std::move(stats)); |
| 109 | } |
| 110 | |
| 111 | void StorageManager::clearCachedPlannerTableStats(std::optional<table_id_t> tableID) { |
| 112 | std::unique_lock lck{plannerStatsMtx}; |
no outgoing calls
no test coverage detected