Style/typo fixup of Turbo Boyer-Moore info.

parent 3de11a9a
...@@ -26723,11 +26723,11 @@ In the first statement, the @code{LIKE} value begins with a wildcard ...@@ -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}. ...@@ -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
...@@ -11,7 +11,7 @@ select * from t1 where a like "test%"; ...@@ -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%";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment