wiredtiger/wiredtiger.github.com — Issue #153: add object name to the cursor
Author: wiredtiger
Created: 2012-01-31 19:22:54+00:00
State: open

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?