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
5553432d
Commit
5553432d
authored
Nov 13, 2003
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
multiple keycache fixes
mysql-test/r/fulltext.result: result updated
parent
7931df03
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
myisam/ft_dump.c
myisam/ft_dump.c
+3
-0
myisam/myisamchk.c
myisam/myisamchk.c
+1
-0
mysql-test/r/fulltext.result
mysql-test/r/fulltext.result
+1
-1
No files found.
myisam/ft_dump.c
View file @
5553432d
...
@@ -80,8 +80,11 @@ int main(int argc,char *argv[])
...
@@ -80,8 +80,11 @@ int main(int argc,char *argv[])
if
(
argc
<
2
)
if
(
argc
<
2
)
usage
();
usage
();
init_key_cache
(
dflt_keycache
,
MI_KEY_BLOCK_LENGTH
,
USE_BUFFER_INIT
,
0
);
if
(
!
(
info
=
mi_open
(
argv
[
0
],
2
,
HA_OPEN_ABORT_IF_LOCKED
)))
if
(
!
(
info
=
mi_open
(
argv
[
0
],
2
,
HA_OPEN_ABORT_IF_LOCKED
)))
goto
err
;
goto
err
;
VOID
(
mi_extra
(
info
,
HA_EXTRA_SET_KEY_CACHE
,
dflt_keycache
));
inx
=
atoi
(
argv
[
1
]);
inx
=
atoi
(
argv
[
1
]);
*
buf2
=
0
;
*
buf2
=
0
;
...
...
myisam/myisamchk.c
View file @
5553432d
...
@@ -794,6 +794,7 @@ static int myisamchk(MI_CHECK *param, my_string filename)
...
@@ -794,6 +794,7 @@ static int myisamchk(MI_CHECK *param, my_string filename)
share
->
tot_locks
-=
share
->
r_locks
;
share
->
tot_locks
-=
share
->
r_locks
;
share
->
r_locks
=
0
;
share
->
r_locks
=
0
;
raid_chunks
=
share
->
base
.
raid_chunks
;
raid_chunks
=
share
->
base
.
raid_chunks
;
VOID
(
mi_extra
(
info
,
HA_EXTRA_SET_KEY_CACHE
,
dflt_keycache
));
/*
/*
Skip the checking of the file if:
Skip the checking of the file if:
...
...
mysql-test/r/fulltext.result
View file @
5553432d
...
@@ -34,8 +34,8 @@ Full-text indexes are called collections
...
@@ -34,8 +34,8 @@ Full-text indexes are called collections
Only MyISAM tables support collections
Only MyISAM tables support collections
select * from t1 where MATCH(a,b) AGAINST ("indexes collections" WITH QUERY EXPANSION);
select * from t1 where MATCH(a,b) AGAINST ("indexes collections" WITH QUERY EXPANSION);
a b
a b
Only MyISAM tables support collections
Full-text indexes are called collections
Full-text indexes are called collections
Only MyISAM tables support collections
MySQL has now support for full-text search
MySQL has now support for full-text search
explain select * from t1 where MATCH(a,b) AGAINST ("collections");
explain select * from t1 where MATCH(a,b) AGAINST ("collections");
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
...
...
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