Details
-
Bug
-
Resolution: Gone away
-
Minor - P4
-
None
-
None
-
ALL
Description
In SERVER-36103 we added a check to errorcodes.py that no error code is larger than some globally-defined maximum. If this check fails, however, errorcodes.py gives bad instructions.
For example, if MAXIMUM_CODE is 99, the highest error code currently used is 50, and I add an error code 1000, errorcodes.py prints:
EXCESSIVE SKIPPING OF ERROR CODES:
{{ file.cpp:68:25:fassert(1000}}
next id to use: 1001
It should instead print the next id to use, which is 51 in this example.
Attachments
Issue Links
- is related to
-
SERVER-36103 prevent excessive error code skipping
-
- Closed
-