Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-157

Typo in DBCollection.findAndModify

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.2
    • 2.1
    • None
    • None

    Description

      There is a typo in DBCollection.java, method findAndModify, lines 269-270:
      if (upsert)
      cmd.append( "upsert", returnNew );
      should be
      if (upsert)
      cmd.append( "upsert", upsert);

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            mikhail.vorozhtsov Mikhail Vorozhtsov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: