aboutsummaryrefslogtreecommitdiff
path: root/include/leveldb/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/leveldb/options.h')
-rw-r--r--include/leveldb/options.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/include/leveldb/options.h b/include/leveldb/options.h
index 381f228..84ac7fc 100644
--- a/include/leveldb/options.h
+++ b/include/leveldb/options.h
@@ -177,21 +177,8 @@ struct WriteOptions {
// Default: false
bool sync;
- // If "post_write_snapshot" is non-NULL, and the write succeeds,
- // *post_write_snapshot will be modified to point to a snapshot of
- // the DB state immediately after this write. The caller must call
- // DB::ReleaseSnapshot(*post_write_snapshotsnapshot) when the
- // snapshot is no longer needed.
- //
- // If "post_write_snapshot" is non-NULL, and the write fails,
- // *post_write_snapshot will be set to NULL.
- //
- // Default: NULL
- const Snapshot** post_write_snapshot;
-
WriteOptions()
- : sync(false),
- post_write_snapshot(NULL) {
+ : sync(false) {
}
};