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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
15222943
Commit
15222943
authored
Jan 14, 2002
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ftb-bugfix
parent
cffbd7e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
Docs/manual.texi
Docs/manual.texi
+5
-0
myisam/ft_boolean_search.c
myisam/ft_boolean_search.c
+2
-0
No files found.
Docs/manual.texi
View file @
15222943
...
@@ -48037,6 +48037,11 @@ Our TODO section contains what we plan to have in 4.0. @xref{TODO MySQL 4.0}.
...
@@ -48037,6 +48037,11 @@ Our TODO section contains what we plan to have in 4.0. @xref{TODO MySQL 4.0}.
@itemize @bullet
@itemize @bullet
@item
@item
Fixed bug with empty expression for boolean fulltext search.
@item
Fixed bug in updating fulltext key from/to @code{NULL}.
No coredump anymore.
@item
ODBC compatibility: added @code{BIT_LENGTH()} function.
ODBC compatibility: added @code{BIT_LENGTH()} function.
@item
@item
Fixed bug in @code{FLUSH QUERY CACHE}.
Fixed bug in @code{FLUSH QUERY CACHE}.
myisam/ft_boolean_search.c
View file @
15222943
...
@@ -369,6 +369,8 @@ float ft_boolean_find_relevance(FT_INFO *ftb, byte *record, uint length)
...
@@ -369,6 +369,8 @@ float ft_boolean_find_relevance(FT_INFO *ftb, byte *record, uint length)
if
(
docid
==
HA_POS_ERROR
)
if
(
docid
==
HA_POS_ERROR
)
return
-
2
.
0
;
return
-
2
.
0
;
if
(
!
ftb
->
queue
.
elements
)
return
0
;
if
(
ftb
->
state
==
READY
||
ftb
->
state
==
INDEX_DONE
)
if
(
ftb
->
state
==
READY
||
ftb
->
state
==
INDEX_DONE
)
{
{
for
(
i
=
1
;
i
<=
ftb
->
queue
.
elements
;
i
++
)
for
(
i
=
1
;
i
<=
ftb
->
queue
.
elements
;
i
++
)
...
...
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