[SERVER-2880] Command line option --profile is ignored Created: 31/Mar/11 Updated: 12/Jul/16 Resolved: 31/Mar/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 1.8.0 |
| Fix Version/s: | 1.9.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Blake Maltby | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
The --profile option to set the default profiling level appears to get ignored. Looking in the code the profiling level was set on a new database in the method Database::finishInit however searching the current source base that no longer appears to get called from anywhere. It was originally called in the setClient code but looks like it was probably lost during commit afa43dc8 which refactored that code. |
| Comments |
| Comment by auto [ 31/Mar/11 ] |
|
Author: {u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}Message: fix --profile by removing unused method and initializing in constructor |