Merge pull request #287 from igm/patch-1

Fixed multiplier for position of "label" in case of "po" key entry
This commit is contained in:
Barak Michener 2015-07-31 15:16:30 -04:00
commit d4024533ee

View file

@ -199,7 +199,7 @@ func PositionOf(prefix []byte, d quad.Direction, qs *QuadStore) int {
case quad.Object:
return hashSize + 2
case quad.Label:
return hashSize + 2
return 3*hashSize + 2
}
}
if bytes.Equal(prefix, []byte("os")) {