[SERVER-1401] Dont call getLastError if last statement didn't go to server Created: 12/Jul/10 Updated: 12/Jul/16 Resolved: 21/Sep/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Mathias Stearn | Assignee: | Antoine Girbal |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
> db.getLastError() > function foo(){} |
| Comments |
| Comment by auto [ 21/Sep/11 ] |
|
Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}Message: |
| Comment by Eliot Horowitz (Inactive) [ 21/Sep/11 ] |
|
We can't have every update call getLastError |
| Comment by Antoine Girbal [ 21/Sep/11 ] |
|
getLastError is not called every time a result is undefined anymore. |
| Comment by auto [ 21/Sep/11 ] |
|
Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}Message: |