-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
ALL
-
QO 2022-02-21, QO 2022-03-07, QO 2022-03-21, QO 2022-04-04, QO 2022-04-18
Array compared against 0
The address of an array is never NULL, so the comparison will always evaluate the same way. Array compared against NULL pointer
/src/mongo/db/query/optimizer/props.cpp:176: NO_EFFECT 121444 Comparing an array to null is not useful: """", since the test will always evaluate as true.