1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Style/typo fixup of Turbo Boyer-Moore info.

This commit is contained in:
unknown
2002-05-21 08:07:09 +10:00
parent db2032fd73
commit 3f1c4df946
2 changed files with 8 additions and 7 deletions

View File

@@ -26723,11 +26723,11 @@ In the first statement, the @code{LIKE} value begins with a wildcard
character. In the second statement, the @code{LIKE} value is not a character. In the second statement, the @code{LIKE} value is not a
constant. constant.
MySQL 4.0 does another optimization on @code{LIKE}. If you are using MySQL 4.0 does another optimization on @code{LIKE}. If you use
@code{... LIKE "%string%"} and @code{string} is longer than 3 characters @code{... LIKE "%string%"} and @code{string} is longer than 3 characters,
then MySQL will use the turbo-boyer-more algorithm to once initialize MySQL will use the @code{Turbo Boyer-Moore} algorithm to initialise the
the pattern for the string and then use this pattern to quickly search pattern for the string and then use this pattern to perform the search
after the given string. quicker.
@findex IS NULL, and indexes @findex IS NULL, and indexes
@cindex indexes, and @code{IS NULL} @cindex indexes, and @code{IS NULL}
@@ -49311,7 +49311,8 @@ Our TODO section contains what we plan to have in 4.0. @xref{TODO MySQL 4.0}.
@itemize @bullet @itemize @bullet
@item @item
Use turbo-boyer-more to speed up @code{LIKE "%keyword%"} searches. Use @code{Turbo Boyer-Moore} algorithm to speed up @code{LIKE "%keyword%"}
searches.
@item @item
Fixed bug in @code{DROP DATABASE} with symlink. Fixed bug in @code{DROP DATABASE} with symlink.
@item @item

View File

@@ -11,7 +11,7 @@ select * from t1 where a like "test%";
select * from t1 where a like "te_t"; select * from t1 where a like "te_t";
# #
# The following will test the boyer-more code # The following will test the Turbo Boyer-Moore code
# #
select * from t1 where a like "%a%"; select * from t1 where a like "%a%";
select * from t1 where a like "%abcd%"; select * from t1 where a like "%abcd%";