Details
-
Bug
-
Resolution: Gone away
-
Major - P3
-
None
-
None
-
None
-
ALL
-
QO 2022-02-21, QO 2022-03-07, QO 2022-03-21, QO 2022-04-04, QO 2022-04-18
Description
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.