-
Type: Question
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.1.0
-
Component/s: Internal Code
-
None
Code snippet below is from queryWithQueryOptimizer @ ops/query.cpp and it tries to cast long long to int and assign it to a long long:
if ( dbprofile || duration >= cmdLine.slowMS ) { curop.debug().nscanned = (int)( cursor ? cursor->nscanned() : 0 ); // <-- why is there a cast? curop.debug().ntoskip = pq.getSkip(); }