WIP: another bug
This commit is contained in:
parent
4bcd4b5de1
commit
246e891d01
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ open(Name, Config) ->
|
||||||
{ok, <<BloomSize:32/unsigned>>} = file:pread(File, FileInfo#file_info.size - 12, 4),
|
{ok, <<BloomSize:32/unsigned>>} = file:pread(File, FileInfo#file_info.size - 12, 4),
|
||||||
{ok, BloomData} = file:pread(File, (FileInfo#file_info.size - 12 - BloomSize), BloomSize),
|
{ok, BloomData} = file:pread(File, (FileInfo#file_info.size - 12 - BloomSize), BloomSize),
|
||||||
|
|
||||||
{ok, Bloom} = hanoidb_util:decode_bloom(BloomData),
|
Bloom = hanoidb_util:decode_bloom(BloomData),
|
||||||
|
|
||||||
%% suck in the root
|
%% suck in the root
|
||||||
{ok, Root} = read_node(File, RootPos),
|
{ok, Root} = read_node(File, RootPos),
|
||||||
|
|
Loading…
Reference in a new issue