Make transactions use snapshots by default; has no effect if DB not opened with support for multiversion
This commit is contained in:
parent
3c84d5dd44
commit
c3d7638c0b
|
@ -230,7 +230,7 @@ close(Db, Opts) ->
|
||||||
-spec txn_begin() -> ok | db_error().
|
-spec txn_begin() -> ok | db_error().
|
||||||
|
|
||||||
txn_begin() ->
|
txn_begin() ->
|
||||||
txn_begin([]).
|
txn_begin([txn_snapshot]).
|
||||||
|
|
||||||
|
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue