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

Method ProcedureExist

src/tablet/tablet_impl.h:99–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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];
102 auto sp_it = sp_map_of_db.find(sp_name);
103 return sp_it != sp_map_of_db.end();
104 }
105 std::shared_ptr<hybridse::vm::CompileInfo> GetRequestInfo(const std::string& db, const std::string& sp_name,
106 hybridse::base::Status& status) override { // NOLINT
107 std::lock_guard<SpinMutex> spin_lock(spin_mutex_);

Callers 1

CreateProcedureMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected