Whitespace
This commit is contained in:
parent
469bf225a2
commit
a29ccf2f22
|
@ -555,6 +555,7 @@ transaction(Fun, Retries, Opts) ->
|
||||||
-spec transaction(Fun :: db_txn_fun(), Retries :: db_txn_retries(),
|
-spec transaction(Fun :: db_txn_fun(), Retries :: db_txn_retries(),
|
||||||
TimeLeft :: db_txn_timeleft(), Opts :: db_flags()) ->
|
TimeLeft :: db_txn_timeleft(), Opts :: db_flags()) ->
|
||||||
{ok, db_value()} | db_txn_error().
|
{ok, db_value()} | db_txn_error().
|
||||||
|
|
||||||
transaction(_Fun, _Retries, TimeLeft, _Opts) when TimeLeft =/= infinity, TimeLeft < 0 ->
|
transaction(_Fun, _Retries, TimeLeft, _Opts) when TimeLeft =/= infinity, TimeLeft < 0 ->
|
||||||
{error, {transaction_failed, time_limit_reached}};
|
{error, {transaction_failed, time_limit_reached}};
|
||||||
|
|
||||||
|
@ -2231,6 +2232,7 @@ flag_value(Flag) ->
|
||||||
get_both -> ?DB_GET_BOTH;
|
get_both -> ?DB_GET_BOTH;
|
||||||
ignore_lease -> ?DB_IGNORE_LEASE;
|
ignore_lease -> ?DB_IGNORE_LEASE;
|
||||||
multiple -> ?DB_MULTIPLE;
|
multiple -> ?DB_MULTIPLE;
|
||||||
|
multiple_key -> ?DB_MULTIPLE_KEY;
|
||||||
multiversion -> ?DB_MULTIVERSION;
|
multiversion -> ?DB_MULTIVERSION;
|
||||||
no_duplicate -> ?DB_NODUPDATA;
|
no_duplicate -> ?DB_NODUPDATA;
|
||||||
no_mmap -> ?DB_NOMMAP;
|
no_mmap -> ?DB_NOMMAP;
|
||||||
|
|
Loading…
Reference in a new issue