mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
multiple keycache fixes
mysql-test/r/fulltext.result: result updated
This commit is contained in:
parent
9869bbd3bf
commit
bfeaba69a5
3 changed files with 5 additions and 1 deletions
|
|
@ -80,8 +80,11 @@ int main(int argc,char *argv[])
|
|||
if (argc < 2)
|
||||
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)))
|
||||
goto err;
|
||||
VOID(mi_extra(info, HA_EXTRA_SET_KEY_CACHE, dflt_keycache));
|
||||
|
||||
inx=atoi(argv[1]);
|
||||
*buf2=0;
|
||||
|
|
|
|||
|
|
@ -794,6 +794,7 @@ static int myisamchk(MI_CHECK *param, my_string filename)
|
|||
share->tot_locks-= share->r_locks;
|
||||
share->r_locks=0;
|
||||
raid_chunks=share->base.raid_chunks;
|
||||
VOID(mi_extra(info, HA_EXTRA_SET_KEY_CACHE, dflt_keycache));
|
||||
|
||||
/*
|
||||
Skip the checking of the file if:
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ Full-text indexes are called collections
|
|||
Only MyISAM tables support collections
|
||||
select * from t1 where MATCH(a,b) AGAINST ("indexes collections" WITH QUERY EXPANSION);
|
||||
a b
|
||||
Only MyISAM tables support collections
|
||||
Full-text indexes are called collections
|
||||
Only MyISAM tables support collections
|
||||
MySQL has now support for full-text search
|
||||
explain select * from t1 where MATCH(a,b) AGAINST ("collections");
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue