diff options
author | Keith Bostic <keith.bostic@mongodb.com> | 2017-07-28 03:41:00 -0400 |
---|---|---|
committer | Michael Cahill <michael.cahill@mongodb.com> | 2017-07-28 17:41:00 +1000 |
commit | 9494eb2899e010c378f882348ff3b58d37ecab08 (patch) | |
tree | 716e3a22d423061f25f87859ba1a798217ee0567 /lang | |
parent | d27f479e4bc30d6bfb8d355c5737f37957a18ff7 (diff) | |
download | mongo-9494eb2899e010c378f882348ff3b58d37ecab08.tar.gz |
WT-3338 Implement optimized cursor modify. (#3437)
Adds a new WT_UPDATE type, WT_UPDATE_MODIFIED, containing a delta update to an existing value. Allows a fixed number of these deltas to accumulate between full updates, and applies deltas during reads so that the final, modified values are returned.
Fixes bugs from WT-3402 with variable-length column stores with run-length encoding.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python/wiredtiger.i | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/python/wiredtiger.i b/lang/python/wiredtiger.i index 8c737341979..e976af6a284 100644 --- a/lang/python/wiredtiger.i +++ b/lang/python/wiredtiger.i @@ -489,6 +489,7 @@ NOTFOUND_OK(__wt_cursor::prev) NOTFOUND_OK(__wt_cursor::remove) NOTFOUND_OK(__wt_cursor::search) NOTFOUND_OK(__wt_cursor::update) +NOTFOUND_OK(__wt_cursor::_modify) ANY_OK(__wt_modify::__wt_modify) ANY_OK(__wt_modify::~__wt_modify) |