Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
3.1.7
-
None
-
ALL
-
Description
getLastError used to return 0 for "n" after an insert. With the latest 3.1.7 nightly, it is now returning 1 (or presumably, the number of documents inserted).
I certainly think this is the right value for "n" if we're starting from scratch, but at this point we shouldn't change this behavior as users may be relying on this.
Attachments
Issue Links
- is related to
-
SERVER-18131 Make LastError data part of Client, not thread-local
-
- Closed
-