Operational Defect Database

BugZero found this defect 2506 days ago.

MongoDB | 374601

[SERVER-28819] Coverity analysis defect 100628: Assign instead of compare

Last update date:

10/12/2017

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

3.5.7

Description:

Info

An assignment (=) occurs where compare (==) is probably intended Defect 100628 (STATIC_C) Checker PW.ASSIGN_WHERE_COMPARE_MEANT (subcategory none) File: /src/mongo/db/query/plan_executor.cpp Parse Warning (no function name available) /src/mongo/db/query/plan_executor.cpp, line: 241 use of "=" where "==" may have been intended invariant(_currentState = kDisposed);

Top User Comments

xgen-internal-githook commented on Mon, 17 Apr 2017 22:24:22 +0000: Author: {u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'} Message: SERVER-28819 fix typo in PlanExecutor invariant Branch: master https://github.com/mongodb/mongo/commit/cd3409fa054db956e06d41a0d4e321c874e1a2d6

Additional Resources / Links

Share:

BugZero Risk Score

Coming soon

Status

Closed

Have you been affected by this bug?

cost-cta-background

Do you know how much operational outages are costing you?

Understand the cost to your business and how BugZero can help you reduce those costs.

Discussion

Login to read and write comments.

Have you ever...

had your data corrupted from a

VMware

bug?

Search:

...