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
a1c47df6
Commit
a1c47df6
authored
Nov 10, 2000
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge
BitKeeper/etc/logging_ok: Auto merged
parents
d86fe939
5aa8fa60
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+3
-0
myisam/ft_parser.c
myisam/ft_parser.c
+1
-3
No files found.
BitKeeper/etc/logging_ok
View file @
a1c47df6
jcole@tetra.bedford.progress.com
jcole@tetra.bedford.progress.com
sasha@mysql.sashanet.com
sasha@work.mysql.com
serg@serg.mysql.com
myisam/ft_parser.c
View file @
a1c47df6
...
@@ -47,9 +47,6 @@ static int FT_WORD_cmp(FT_WORD *w1, FT_WORD *w2)
...
@@ -47,9 +47,6 @@ static int FT_WORD_cmp(FT_WORD *w1, FT_WORD *w2)
static
int
walk_and_copy
(
FT_WORD
*
word
,
uint32
count
,
FT_DOCSTAT
*
docstat
)
static
int
walk_and_copy
(
FT_WORD
*
word
,
uint32
count
,
FT_DOCSTAT
*
docstat
)
{
{
if
(
is_stopword
(
word
->
pos
,
word
->
len
))
return
0
;
word
->
weight
=
LWS_IN_USE
;
word
->
weight
=
LWS_IN_USE
;
#ifdef EVAL_RUN
#ifdef EVAL_RUN
...
@@ -142,6 +139,7 @@ TREE * ft_parse(TREE *wtree, byte *doc, int doclen)
...
@@ -142,6 +139,7 @@ TREE * ft_parse(TREE *wtree, byte *doc, int doclen)
if
(
!
word_char
(
*
doc
))
break
;
if
(
!
word_char
(
*
doc
))
break
;
if
((
w
.
len
=
(
uint
)
(
doc
-
w
.
pos
))
<
MIN_WORD_LEN
)
continue
;
if
((
w
.
len
=
(
uint
)
(
doc
-
w
.
pos
))
<
MIN_WORD_LEN
)
continue
;
if
(
w
.
len
>=
HA_FT_MAXLEN
)
continue
;
if
(
w
.
len
>=
HA_FT_MAXLEN
)
continue
;
if
(
is_stopword
(
w
.
pos
,
w
.
len
))
continue
;
if
(
!
tree_insert
(
wtree
,
&
w
,
0
))
if
(
!
tree_insert
(
wtree
,
&
w
,
0
))
{
{
delete_tree
(
wtree
);
delete_tree
(
wtree
);
...
...
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