The return value of ets is generally 'true'
This commit is contained in:
parent
aca3759e45
commit
c1b9038447
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ generate_filename(DataDir, Prefix, N) ->
|
||||||
maybe_cleanup(_Tid, _Key, false) ->
|
maybe_cleanup(_Tid, _Key, false) ->
|
||||||
ok;
|
ok;
|
||||||
maybe_cleanup(Tid, Key, true) ->
|
maybe_cleanup(Tid, Key, true) ->
|
||||||
ok = ets:delete(Tid, Key).
|
true = ets:delete(Tid, Key).
|
||||||
|
|
||||||
|
|
||||||
-ifdef(TEST).
|
-ifdef(TEST).
|
||||||
|
|
Loading…
Reference in a new issue