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

Typo in DBCollection.findAndModify

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.2
    • Affects Version/s: 2.1
    • Component/s: None
    • None

      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);

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

              Created:
              Updated:
              Resolved: