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

Use "bool" more extensively

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.7.0
    • Affects Version/s: None
    • Component/s: None
    • None

      When we first started using "bool", it was to improve method signatures, and in particular to make it clear when to use WT_RET / WT_ERR vs checking the return directly for a true / false.

      This is a followup change to use bool in more common expressions where we only check {{int}}s for zero / non-zero.

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: