mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 14:20:44 -04:00
moved a debug output to the right place
This commit is contained in:
parent
a17f5a21f8
commit
1a362f1cc0
1 changed files with 6 additions and 7 deletions
|
@ -1271,13 +1271,13 @@ int RsDataService::retrieveGxsMsgMetaData(const GxsMsgReq& reqIds, GxsMsgMetaRes
|
||||||
if (c)
|
if (c)
|
||||||
{
|
{
|
||||||
locked_retrieveMsgMetaList(c, msgMeta[grpId]);
|
locked_retrieveMsgMetaList(c, msgMeta[grpId]);
|
||||||
#ifdef RS_DATA_SERVICE_DEBUG_CACHE
|
|
||||||
std::cerr << mDbName << ": Retrieving (all) Msg metadata grpId=" << grpId << ", " << std::dec << metaSet.size() << " messages" << std::endl;
|
|
||||||
#endif
|
|
||||||
cache.setCacheUpToDate(true);
|
cache.setCacheUpToDate(true);
|
||||||
}
|
}
|
||||||
delete c;
|
delete c;
|
||||||
}
|
}
|
||||||
|
#ifdef RS_DATA_SERVICE_DEBUG_CACHE
|
||||||
|
std::cerr << mDbName << ": Retrieving (all) Msg metadata grpId=" << grpId << ", " << std::dec << metaSet.size() << " messages" << std::endl;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -1303,12 +1303,11 @@ int RsDataService::retrieveGxsMsgMetaData(const GxsMsgReq& reqIds, GxsMsgMetaRes
|
||||||
metaSet.push_back(meta);
|
metaSet.push_back(meta);
|
||||||
|
|
||||||
delete c;
|
delete c;
|
||||||
|
|
||||||
#ifdef RS_DATA_SERVICE_DEBUG_CACHE
|
|
||||||
std::cerr << mDbName << ": Retrieving Msg metadata grpId=" << grpId << ", " << std::dec << metaSet.size() << " messages" << std::endl;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifdef RS_DATA_SERVICE_DEBUG_CACHE
|
||||||
|
std::cerr << mDbName << ": Retrieving Msg metadata grpId=" << grpId << ", " << std::dec << metaSet.size() << " messages" << std::endl;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue