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

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

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: 1.6.1
    • Component/s: JavaScript
    • None
    • Environment:
      Ubuntu Linux - mongo client console
    • Fully Compatible
    • ALL

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

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

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

              Created:
              Updated:
              Resolved: