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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial - P5
    • Resolution: Won't Fix
    • 1.6.1
    • None
    • 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

        Issue Links

          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: