Fix case clause error.
This is a fix for commit dce62a8
originally targeted for
https://github.com/krestenkrab/hanoidb/issues/12 where an old file
descriptor is used when storing 2i (transact data) causes the tx log
to roll.
This commit is contained in:
parent
b254a5e345
commit
1bbea4b87d
1 changed files with 2 additions and 1 deletions
|
@ -269,7 +269,8 @@ ensure_space(Nursery, NeededRoom, Top) ->
|
|||
true ->
|
||||
Nursery;
|
||||
false ->
|
||||
flush(Nursery, Top)
|
||||
{ok, Nursery1} = flush(Nursery, Top),
|
||||
Nursery1
|
||||
end.
|
||||
|
||||
transact(Spec, Nursery, Top) ->
|
||||
|
|
Loading…
Reference in a new issue