Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-11204

Coverity analysis defect 138208: Side effect in assertion

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines

      Side effect in assertion

      If the assertion is turned off, the side-effect may be lost. Assertion contains an operation with a side effect
      /test/utility/file.c:298: ASSERT_SIDE_EFFECT 138208 Assignment "n = read(rfd, buf, 262144UL)" has a side effect. This code will work differently in a non-debug build.

            Assignee:
            peter.macko@mongodb.com Peter Macko
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: