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

add object name to the cursor

    • Type: Icon: Task Task
    • Resolution: Done
    • None
    • Affects Version/s: None
    • Component/s: None

      Michael, I was thinking add the object name to the cursor might be generally useful for applications passing around cursors?

      That way, you could do something like:

      const char *key = "key";
      cursor->set_key(cursor, key);
      if ((ret = cursor->search(cursor)) {
              fprintf(stderr, "%s: %s\n", cursor->name(cursor), wiredtiger_strerror(ret));
      

      Or is there some better way to do this?

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            wiredtiger WiredTiger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: