diff options
author | Keith Bostic <keith@wiredtiger.com> | 2012-02-08 11:23:32 +0000 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2012-02-08 11:23:32 +0000 |
commit | f2451d82ddb4eed43051587c3636025802662707 (patch) | |
tree | 1fb715bb5b97b56ca18bfe00779d5f06e2a9bdac | |
parent | 8a9800336e06ba368c18cbe036193af824e149e2 (diff) | |
download | mongo-f2451d82ddb4eed43051587c3636025802662707.tar.gz |
Minor clarification of the meaning of WT_NOTFOUND: it's a cursor operation
only, not a "search" operation.
-rw-r--r-- | dist/api_data.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dist/api_data.py b/dist/api_data.py index 7629ba0f4e4..1c51d179650 100644 --- a/dist/api_data.py +++ b/dist/api_data.py @@ -21,11 +21,11 @@ errors = [ Error('WT_ERROR', 'non-specific WiredTiger error', ''' This error is generated for cases that are not covered by specific error returns.'''), - Error('WT_NOTFOUND', 'item not found', ''' - This return value indicates that a search operation did not - find a record matching the application's search key. This - includes implicit search operations in WT_CURSOR::update or - WT_CURSOR::remove operations.'''), + Error('WT_NOTFOUND', 'cursor item not found', ''' + This error indicates a cursor operation did not find a + record to return. This includes search and other + operations where no record matched the cursor's search + key such as WT_CURSOR::update or WT_CURSOR::remove.'''), Error('WT_RESTART', 'restart the operation (internal)', undoc=True), ] |