-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
ALL
-
Query Execution 2021-03-08, Query Execution 2021-03-22, Query Execution 2021-04-05
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Unsigned compared against 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/db/exec/sbe/expressions/expression.cpp:420: NO_EFFECT 117572 This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "n >= 0UL".
- is duplicated by
-
SERVER-54306 Coverity analysis defect 117573: Unsigned compared against 0
-
- Closed
-
-
SERVER-54307 Coverity analysis defect 117575: Unsigned compared against 0
-
- Closed
-