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
d74ecc07
Commit
d74ecc07
authored
Oct 24, 2003
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style fixes
parent
ad175936
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
myisam/ft_parser.c
myisam/ft_parser.c
+5
-5
No files found.
myisam/ft_parser.c
View file @
d74ecc07
...
@@ -145,7 +145,7 @@ byte ft_get_word(CHARSET_INFO *cs, byte **start, byte *end,
...
@@ -145,7 +145,7 @@ byte ft_get_word(CHARSET_INFO *cs, byte **start, byte *end,
byte
ft_simple_get_word
(
CHARSET_INFO
*
cs
,
byte
**
start
,
byte
*
end
,
byte
ft_simple_get_word
(
CHARSET_INFO
*
cs
,
byte
**
start
,
byte
*
end
,
FT_WORD
*
word
)
FT_WORD
*
word
)
{
{
byte
*
doc
=*
start
;
byte
*
doc
=
*
start
;
uint
mwc
,
length
;
uint
mwc
,
length
;
DBUG_ENTER
(
"ft_simple_get_word"
);
DBUG_ENTER
(
"ft_simple_get_word"
);
...
@@ -156,10 +156,10 @@ byte ft_simple_get_word(CHARSET_INFO *cs, byte **start, byte *end,
...
@@ -156,10 +156,10 @@ byte ft_simple_get_word(CHARSET_INFO *cs, byte **start, byte *end,
if
(
true_word_char
(
cs
,
*
doc
))
break
;
if
(
true_word_char
(
cs
,
*
doc
))
break
;
}
}
mwc
=
length
=
0
;
mwc
=
length
=
0
;
for
(
word
->
pos
=
doc
;
doc
<
end
;
length
++
,
doc
+=
my_mbcharlen
(
cs
,
*
(
uchar
*
)
doc
))
for
(
word
->
pos
=
doc
;
doc
<
end
;
length
++
,
doc
+=
my_mbcharlen
(
cs
,
*
(
uchar
*
)
doc
))
if
(
true_word_char
(
cs
,
*
doc
))
if
(
true_word_char
(
cs
,
*
doc
))
mwc
=
0
;
mwc
=
0
;
else
if
(
!
misc_word_char
(
*
doc
)
||
mwc
++
)
else
if
(
!
misc_word_char
(
*
doc
)
||
mwc
++
)
break
;
break
;
...
@@ -168,7 +168,7 @@ byte ft_simple_get_word(CHARSET_INFO *cs, byte **start, byte *end,
...
@@ -168,7 +168,7 @@ byte ft_simple_get_word(CHARSET_INFO *cs, byte **start, byte *end,
if
(
length
>=
ft_min_word_len
&&
length
<
ft_max_word_len
&&
if
(
length
>=
ft_min_word_len
&&
length
<
ft_max_word_len
&&
!
is_stopword
(
word
->
pos
,
word
->
len
))
!
is_stopword
(
word
->
pos
,
word
->
len
))
{
{
*
start
=
doc
;
*
start
=
doc
;
DBUG_RETURN
(
1
);
DBUG_RETURN
(
1
);
}
}
}
}
...
...
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