Return properly shaped tuple.
This commit is contained in:
parent
669f589d0c
commit
acbcf9d601
1 changed files with 2 additions and 2 deletions
|
@ -419,8 +419,8 @@ do_transact([{put, Key, Value}], State) ->
|
|||
do_put(Key, Value, State);
|
||||
do_transact([{delete, Key}], State) ->
|
||||
do_put(Key, ?TOMBSTONE, State);
|
||||
do_transact([], _State) ->
|
||||
ok;
|
||||
do_transact([], State) ->
|
||||
{ok, State};
|
||||
do_transact(TransactionSpec, State=#state{ nursery=Nursery, top=Top }) ->
|
||||
{ok, Nursery2} = hanoidb_nursery:transact(TransactionSpec, Nursery, Top),
|
||||
{ok, State#state{ nursery=Nursery2 }}.
|
||||
|
|
Loading…
Reference in a new issue