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

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

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.8.0
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

        1. jcursor.c
          4 kB
          Denis Shkirya

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

              Created:
              Updated:
              Resolved: