Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
3f1c4df9
Commit
3f1c4df9
authored
May 21, 2002
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style/typo fixup of Turbo Boyer-Moore info.
parent
db2032fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
Docs/manual.texi
Docs/manual.texi
+7
-6
mysql-test/t/func_like.test
mysql-test/t/func_like.test
+1
-1
No files found.
Docs/manual.texi
View file @
3f1c4df9
...
...
@@ -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 initializ
e
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 th
e
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
mysql-test/t/func_like.test
View file @
3f1c4df9
...
...
@@ -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-m
ore code
# The following will test the
Turbo Boyer-Mo
ore code
#
select
*
from
t1
where
a
like
"%a%"
;
select
*
from
t1
where
a
like
"%abcd%"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment