Details
-
Question
-
Resolution: Done
-
Major - P3
-
None
-
2.1.0
-
None
Description
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();
|
}
|