-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
Fully Compatible
-
ALL
-
0
-
None
-
3
-
TBD
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Wrong operator used
Inadvertent use of the wrong operator results in a likely logic error. Common interchanges include bit-or and bit-and, left-shift and right-shift. Wrong operator used in expression
/data/mci/ca51a75ec01e2db4c86c36e81ffcbc1a/bazel_cache/9609e6a8b9a79735a5ea9f2aad32fa3a/execroot/_main/src/mongo/db/query/stats/rand_utils_new.cpp:274: CONSTANT_EXPRESSION_RESULT 163728 "(b << 16) & 255" is always 0 regardless of the values of its operands. This occurs as an initializer.
- is duplicated by
-
SERVER-108517 Coverity analysis defect 163726: Wrong operator used
-
- Closed
-
-
SERVER-108518 Coverity analysis defect 163704: Wrong operator used
-
- Closed
-