diff --git a/trie/slimtrie_query.go b/trie/slimtrie_query.go index cae0acf9..d36cef20 100644 --- a/trie/slimtrie_query.go +++ b/trie/slimtrie_query.go @@ -213,12 +213,12 @@ func (st *SlimTrie) GetID(key string) int32 { // eqID must not be -1 - tail := key[i>>3:] - if st.cmpLeafPrefix(tail, qr) == 0 { - return eqID - } + // tail := key[i>>3:] + // if st.cmpLeafPrefix(tail, qr) == 0 { + // return eqID + // } - return -1 + // return -1 if st.nodes.WithLeafPrefix { if i == l {