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

Use "bool" more extensively

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.7.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael.cahill Michael Cahill
                Reporter:
                michael.cahill Michael Cahill
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: