MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / setCachedPlannerTableStats

Method setCachedPlannerTableStats

src/storage/storage_manager.cpp:106–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

analyzePlannerStatsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected