-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Execution
-
Fully Compatible
-
ALL
-
v7.0
-
QE 2023-05-01
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Macro compares unsigned to 0
An unsigned value can never be negative, so this test will always evaluate the same way. An unsigned value can never be less than 0
/src/mongo/util/indexed_string_vector.h:139: NO_EFFECT 137567 This less-than-zero comparison of an unsigned value is never true. "encodedIdx < 0UL".