Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-85803

Block API valueBlockLogicalXXX should handle non-boolean values

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2024-02-05
    • 155

      In the scalar code, the logical Not operator will convert non-boolean values to Nothing; And and Or will return Nothing if a Nothing is seen, and ignore intermediate non-boolean operands.
      Add extensive test cases in a jstest module to ensure MQL compatibility

            Assignee:
            alberto.massari@mongodb.com Alberto Massari
            Reporter:
            alberto.massari@mongodb.com Alberto Massari
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: