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

Checking of search() result for reference cursors before join()

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT2.8.0
    • None
    • None

    Description

      Hi!
      I have next question - if i use in join cursor reference cursor with one of compare condition "gt", "ge", "lt", "le" (not "eq"), should i check that result of search() call for reference cursor is 0 or it can be WT_NOTFOUND too? It looks like sometimes join works fine even if result of search() for reference cursor was WT_NOTFOUND. I attached small program that shows cases in which that is not so.

      Attachments

        1. jcursor.c
          4 kB
          Denis Shkirya

        Activity

          People

            donald.anderson@mongodb.com Donald Anderson
            Denis Shkirya Denis Shkirya
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: