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

WT_CURSOR.compare for index cursors does insufficient checking

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • WT2.7.0
    • Affects Version/s: WT2.6.1
    • Component/s: None
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: