Dump test utility - does not need to cope with CRC failure
Dump is used in tests only
This commit is contained in:
parent
49eed55735
commit
72b9b35dac
1 changed files with 0 additions and 3 deletions
|
@ -1349,9 +1349,6 @@ dump(FileName) ->
|
||||||
{KL,VL} = read_next_2_integers(Handle),
|
{KL,VL} = read_next_2_integers(Handle),
|
||||||
Key = read_next_term(Handle, KL),
|
Key = read_next_term(Handle, KL),
|
||||||
case read_next_term(Handle, VL, crc) of
|
case read_next_term(Handle, VL, crc) of
|
||||||
{false, _} ->
|
|
||||||
{ok, CurrLoc} = file:position(Handle, cur),
|
|
||||||
Return = {crc_wonky, get(Handle, Key)};
|
|
||||||
{_, Value} ->
|
{_, Value} ->
|
||||||
{ok, CurrLoc} = file:position(Handle, cur),
|
{ok, CurrLoc} = file:position(Handle, cur),
|
||||||
Return =
|
Return =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue