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

Coverity analysis defect 100037: Copy-paste error

    • Fully Compatible
    • ALL

      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:"));
      

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: