summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <arjen@fred.bitbike.com>2002-05-21 08:07:09 +1000
committerunknown <arjen@fred.bitbike.com>2002-05-21 08:07:09 +1000
commit3f1c4df946c8c64a33ee1e256ca0ce6e976a28c6 (patch)
tree2a6c34e243bb5bdfe5ba56fddc0f1879347be411
parentdb2032fd7311c01e6f9d795a64be7144cf4b0a69 (diff)
downloadmariadb-git-3f1c4df946c8c64a33ee1e256ca0ce6e976a28c6.tar.gz
Style/typo fixup of Turbo Boyer-Moore info.
-rw-r--r--Docs/manual.texi13
-rw-r--r--mysql-test/t/func_like.test2
2 files changed, 8 insertions, 7 deletions
diff --git a/Docs/manual.texi b/Docs/manual.texi
index 64b3ecff461..bc4008991ae 100644
--- a/Docs/manual.texi
+++ b/Docs/manual.texi
@@ -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
constant.
-MySQL 4.0 does another optimization on @code{LIKE}. If you are using
-@code{... LIKE "%string%"} and @code{string} is longer than 3 characters
-then MySQL will use the turbo-boyer-more algorithm to once initialize
-the pattern for the string and then use this pattern to quickly search
-after the given string.
+MySQL 4.0 does another optimization on @code{LIKE}. If you use
+@code{... LIKE "%string%"} and @code{string} is longer than 3 characters,
+MySQL will use the @code{Turbo Boyer-Moore} algorithm to initialise the
+pattern for the string and then use this pattern to perform the search
+quicker.
@findex IS NULL, and indexes
@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
@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
Fixed bug in @code{DROP DATABASE} with symlink.
@item
diff --git a/mysql-test/t/func_like.test b/mysql-test/t/func_like.test
index 6c0313d0437..09746fcc817 100644
--- a/mysql-test/t/func_like.test
+++ b/mysql-test/t/func_like.test
@@ -11,7 +11,7 @@ select * from t1 where a like "test%";
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 "%abcd%";