[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7203) approxIndexer should not return zero-length keys

Full_Name: Howard Chu
Version: any
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (
Submitted by: hyc

The approxIndexer generates a key for every word in the input string. Short
words produce no actual key value, and leave a slot in the list of keys with
bv_len=0. These results should be omitted; the underlying database can't do
anything with zero length keys anyway.