Coverity analysis defect 175892: Unchecked return value

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • ALL
    • QE 2025-09-29
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Unchecked return value

      If the function returns an error value, the error value may be mistaken for a normal value. Value returned from a function is not checked for errors before being used.
      /data/mci/32efa59870abdf038a0fde7ee8b7f94f/bazel_cache/c6da8300f86815eedad6e42aa8aa02ec/execroot/_main/src/mongo/db/exec/classic/index_scan.cpp:271: CHECKED_RETURN 175892 Calling "insert" without checking return value (as is done elsewhere 4 out of 5 times).

            Assignee:
            Niels Lohmann
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: