parent
6308affc69
commit
887c23e640
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ func (it *Iterator) Contains(v graph.Value) bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
offset := PositionOf(val, it.dir, it.qs)
|
offset := PositionOf(val, it.dir, it.qs)
|
||||||
if bytes.HasPrefix(val.key[offset:], it.checkID) {
|
if len(val.key) != 0 && bytes.HasPrefix(val.key[offset:], it.checkID) {
|
||||||
// You may ask, why don't we check to see if it's a valid (not deleted) quad
|
// You may ask, why don't we check to see if it's a valid (not deleted) quad
|
||||||
// again?
|
// again?
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue