re-enabled resultCOunt

This commit is contained in:
csoler 2020-05-28 15:55:49 +02:00
parent eb6af15b1a
commit a17f5a21f8
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -1400,6 +1400,9 @@ int RsDataService::retrieveGxsGrpMetaData(RsGxsGrpMetaTemporaryMap& grp)
mGrpMetaDataCache.setCacheUpToDate(true);
}
delete c;
#ifdef RS_DATA_SERVICE_DEBUG_TIME
resultCount += grp.size();
#endif
// if(c)
// {
@ -1418,9 +1421,6 @@ int RsDataService::retrieveGxsGrpMetaData(RsGxsGrpMetaTemporaryMap& grp)
// }
// valid = c->moveToNext();
//
//#ifdef RS_DATA_SERVICE_DEBUG_TIME
// ++resultCount;
//#endif
// }
// delete c;
// }
@ -1449,6 +1449,10 @@ int RsDataService::retrieveGxsGrpMetaData(RsGxsGrpMetaTemporaryMap& grp)
if(meta)
grp[mit->first] = meta;
#ifdef RS_DATA_SERVICE_DEBUG_TIME
++resultCount;
#endif
delete c;
// if(c)