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

Method GetTableUnLock

src/tablet/tablet_impl.cc:4099–4108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4097}
4098
4099std::shared_ptr<Table> TabletImpl::GetTableUnLock(uint32_t tid, uint32_t pid) {
4100 Tables::iterator it = tables_.find(tid);
4101 if (it != tables_.end()) {
4102 auto tit = it->second.find(pid);
4103 if (tit != it->second.end()) {
4104 return tit->second;
4105 }
4106 }
4107 return std::shared_ptr<Table>();
4108}
4109
4110void TabletImpl::ShowMemPool(RpcController* controller,
4111 const ::fedb::api::HttpRequest* request,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected