[SERVER-7049] Leftover test for incorrect 'assert' Created: 16/Sep/12 Updated: 11/Jul/16 Resolved: 21/Sep/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 2.3.0 |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Tad Marshall | Assignee: | Tad Marshall |
| Resolution: | Done | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
From code inspection: In lines 141 to 145 of src/mongo/db/btree.cpp we have a leftover check that the 'assert' macro is the correct one. In the change to use 'verify' instead of 'assert', the text was changed to 'verify', but this is the old 'assert' test renamed. We should remove this old code. |
| Comments |
| Comment by auto [ 21/Sep/12 ] |
|
Author: {u'date': u'2012-09-21T12:10:38-07:00', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}Message: |