Closed
Description
options.snapshot = NULL;
on an iterator will give a consistent snapshot view of the data while reading. db->GetSnapshot();
will create a snapshot and return a version that can be set against options.snapshot
. The drawback of the latter is that you have to explicitly db->ReleaseSnapshot()
to clean up versions you've created.
At least the NULL
case would be handy to start with.