Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-26963

Coverity analysis defect 100037: Copy-paste error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      A copied piece of code is inconsistent with the original

      Defect 100037 (STATIC_C)
      Checker COPY_PASTE_ERROR (subcategory none)
      File: /src/third_party/wiredtiger/src/cursor/cur_join.c
      Function __wt_curjoin_open
      /src/third_party/wiredtiger/src/cursor/cur_join.c, line: 1314
      "__wt_unexpected_object_type(session, uri, "join:")" looks like the original copy.

          		return (__wt_unexpected_object_type(session, uri, "join:"));

      /src/third_party/wiredtiger/src/cursor/cur_join.c, line: 1317
      "uri" in "__wt_unexpected_object_type(session, uri, "table:")" looks like a copy-paste error.

          		return (__wt_unexpected_object_type(session, uri, "table:"));

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              keith.bostic Keith Bostic
              Reporter:
              xgen-internal-coverity Coverity Collector User
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: