Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.0, 3.3.12, 3.2.10
    • Labels:
      None

      Description

      < src/cursor/cur_metadata.c:356:6: warning: The left operand of '==' is a garbage value
      <         if (WT_KEY_IS_METADATA(&cursor->key))
      <             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      < src/cursor/cur_metadata.c:158:3: note: expanded from macro 'WT_KEY_IS_METADATA'
      <         (WT_STRING_MATCH(WT_METADATA_URI, (key)->data, (key)->size - 1) ||\
      <          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      < ./src/include/misc.h:228:52: note: expanded from macro 'WT_STRING_MATCH'
      <             strncmp(str, bytes, len) == 0 && (str)[(len)] == '\0')
      <                                              ~~~~~~~~~~~~ ^
      

        Attachments

          Activity

            People

            • Assignee:
              keith.bostic Keith Bostic
              Reporter:
              keith.bostic Keith Bostic
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: