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
bfd1ed5a
Commit
bfd1ed5a
authored
Sep 11, 2020
by
Thirunarayanan Balathandayuthapani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-18867 Long Time to Stop and Start
- Addressing ASAN failure in fts_check_aux_table()
parent
224c9504
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
storage/innobase/fts/fts0fts.cc
storage/innobase/fts/fts0fts.cc
+4
-3
No files found.
storage/innobase/fts/fts0fts.cc
View file @
bfd1ed5a
...
...
@@ -5804,12 +5804,13 @@ bool fts_check_aux_table(const char *name,
/* First search the common table suffix array. */
for
(
ulint
i
=
0
;
fts_common_tables
[
i
];
++
i
)
{
if
(
!
mem
cmp
(
ptr
,
fts_common_tables
[
i
],
len
))
if
(
!
strn
cmp
(
ptr
,
fts_common_tables
[
i
],
len
))
return
true
;
}
/* Could be obsolete common tables. */
if
(
!
memcmp
(
ptr
,
"ADDED"
,
len
)
||
!
memcmp
(
ptr
,
"STOPWORDS"
,
len
))
if
((
len
==
5
&&
!
memcmp
(
ptr
,
"ADDED"
,
len
))
||
(
len
==
9
&&
!
memcmp
(
ptr
,
"STOPWORDS"
,
len
)))
return
true
;
const
char
*
index_id_ptr
=
ptr
;
...
...
@@ -5836,7 +5837,7 @@ bool fts_check_aux_table(const char *name,
}
/* Other FT index specific table(s). */
if
(
!
memcmp
(
ptr
,
"DOC_ID"
,
len
))
if
(
len
==
6
&&
!
memcmp
(
ptr
,
"DOC_ID"
,
len
))
return
true
;
}
...
...
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