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

WT_CURSOR.compare for index cursors does insufficient checking

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: WT2.6.1
    • Fix Version/s: WT2.7.0
    • Labels:
      None

      Description

      Two different indices from a table can be used with the compare and equal functions and they won't necessarily give an error. It's possible that if one had a collator, then bad things would happen when the collator is applied to an index that it wasn't designed to handle.

      There are no tests for compare/equal of indices.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                donald.anderson Donald Anderson
                Reporter:
                donald.anderson Donald Anderson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: