In this PR, we rename the Rw*Iter::put_current_with_flags functions into Rw*Iter::put_current_with_options and make it possible to change the data codec simultaneously. This way, we do not introduce a new put_current function that cannot accept LMDB PutFlags.
We also modify the Rw*Iter::put_current_reserved into a Rw*Iter::put_current_reserved_with_flags to make it possible to specify other flags at the same time as using the "reserved" API interface.
In this PR, we rename the
Rw*Iter::put_current_with_flags
functions intoRw*Iter::put_current_with_options
and make it possible to change the data codec simultaneously. This way, we do not introduce a newput_current
function that cannot accept LMDBPutFlags
.We also modify the
Rw*Iter::put_current_reserved
into aRw*Iter::put_current_reserved_with_flags
to make it possible to specify other flags at the same time as using the "reserved" API interface.