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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Won't Fix
    • Affects Version/s: 1.6.1
    • Fix Version/s: None
    • Component/s: JavaScript
    • Labels:
      None
    • Environment:
      Ubuntu Linux - mongo client console
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      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

              • Votes:
                3 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: