[SERVER-32824] Incorrect interpreterVersion() reported in mongo shell Created: 22/Jan/18 Updated: 30/Oct/23 Resolved: 20/Mar/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | 3.4.10, 3.6.2 |
| Fix Version/s: | 3.7.4 |
| Type: | Bug | Priority: | Trivial - P5 |
| Reporter: | Stennie Steneker (Inactive) | Assignee: | Benjamin Caimano (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Platforms 2018-03-26 | ||||||||
| Participants: | |||||||||
| Description |
|
Per However, the version appears to have been left hardcoded at the old value in mongo/scripting/mozjs/engine.cpp so interpreterVersion() in the mongo shell will incorrectly report "MozJS-38". |
| Comments |
| Comment by Benjamin Caimano (Inactive) [ 20/Mar/18 ] |
|
Switched to use a macro provided from MozJS. It should automatically change in the future. |
| Comment by Githook User [ 20/Mar/18 ] |
|
Author: {'email': 'ben.caimano@10gen.com', 'name': 'Ben Caimano'}Message: Switched hardcoded string to follow major version |