Skip to content

Commit 8902a91

Browse files
Debug logs
1 parent 0f67168 commit 8902a91

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dbcon/execplan/calpontsystemcatalog.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1895,6 +1895,7 @@ boost::shared_ptr<CalpontSystemCatalog> CalpontSystemCatalog::makeCalpontSystemC
18951895
boost::shared_ptr<CalpontSystemCatalog> instance;
18961896
CatalogMap::const_iterator it = fCatalogMap.find(sessionID);
18971897

1898+
idblog("creating syscat for session ID " << sessionID);
18981899
if (sessionID == 0)
18991900
{
19001901
if (it == fCatalogMap.end())
@@ -1937,6 +1938,7 @@ boost::shared_ptr<CalpontSystemCatalog> CalpontSystemCatalog::makeCalpontSystemC
19371938
void CalpontSystemCatalog::removeCalpontSystemCatalog(uint32_t sessionID)
19381939
{
19391940
boost::mutex::scoped_lock lock(map_mutex);
1941+
idblog("for session ID " << sessionID << " syscat map " << (fCatalogMap.contains(sessionID) ? "contains" : "does not caontain") << "syscat instance");
19401942
DEBUG << "remove calpont system catalog for session " << sessionID << endl;
19411943
fCatalogMap.erase(sessionID);
19421944
/*

0 commit comments

Comments
 (0)