MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / DropSQLProcedureCacheEntry

Method DropSQLProcedureCacheEntry

src/tablet/tablet_impl.h:94–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 }
93
94 void DropSQLProcedureCacheEntry(const std::string& db, const std::string& sp_name) {
95 std::lock_guard<SpinMutex> spin_lock(spin_mutex_);
96 db_sp_map_[db].erase(sp_name);
97 return;
98 }
99 const bool ProcedureExist(const std::string& db, const std::string& sp_name) {
100 std::lock_guard<SpinMutex> spin_lock(spin_mutex_);
101 auto& sp_map_of_db = db_sp_map_[db];

Callers 1

DropProcedureMethod · 0.80

Calls 1

eraseMethod · 0.80

Tested by

no test coverage detected