[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: SERVER-7049 remove leftover macro test
Branch: master
https://github.com/mongodb/mongo/commit/ec6187aee39291792ea2ffa7295996e079de9f5f

Generated at Thu Feb 08 03:13:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.