Make transactions use snapshots by default; has no effect if DB not opened with support for multiversion

This commit is contained in:
Dave Smith 2009-03-02 13:33:20 -07:00
parent 3c84d5dd44
commit c3d7638c0b

View file

@ -230,7 +230,7 @@ close(Db, Opts) ->
-spec txn_begin() -> ok | db_error().
txn_begin() ->
txn_begin([]).
txn_begin([txn_snapshot]).
%%--------------------------------------------------------------------