Changes between Initial Version and Version 1 of Ticket #21688, comment 12
- Timestamp:
- 08/26/12 22:06:19 (9 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21688, comment 12
initial v1 1 In 21688-4.patch changed `strlen($term) < 3` to use string index instead. `$string{ 3}` returns the third byte of `$string` regardless of strlen(), mb_strlen() or mbstring.func_overload. This is combined with checking for an empty term: `empty( $term{2} )`.1 In 21688-4.patch changed `strlen($term) < 3` to use string index instead. `$string{2}` returns the third byte of `$string` regardless of strlen(), mb_strlen() or mbstring.func_overload. This is combined with checking for an empty term: `empty( $term{2} )`. 2 2 3 3 The purpose is to exclude all terms that are one or two characters long. It doesn't make sense to use them, example: `LIKE '%ab%'` would match all posts in many languages. The matches will be irrelevant and the search will be slower.
