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

(new NumberLong(3754)==new NumberLong(3754)) evals to false

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Trivial - P5 Trivial - P5
    • None
    • 1.6.1
    • JavaScript
    • None
    • Ubuntu Linux - mongo client console
    • Fully Compatible
    • ALL

    Description

      > (new NumberLong(3754)==new NumberLong(3754))
      false
      >

      I ran into this issue when creating a $where function that compared numbers.

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            briandilley Brian C. Dilley
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: