The __prompt__ variable must be globally set for execPrompt() to correctly read the value and display it. The changes from 17b2ea1 as part of SERVER-105603 made its usage within __promptWrapper__() become a module-scoped variable.
This has no functional impact but it is convenient within an interactive mongo shell session to see the connection state, for example:
MongoDB Enterprise rs:PRIMARY>
- is caused by
-
SERVER-105603 Make utils.js a module
-
- Closed
-