mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
mi_keycache.c:
new file Many files: Added CACHE INDEX command sql/ha_myisam.cc: Added CACHE INDEX command sql/handler.cc: Added CACHE INDEX command sql/sql_lex.cc: Added CACHE INDEX command sql/sql_parse.cc: Added CACHE INDEX command sql/sql_table.cc: Added CACHE INDEX command sql/ha_myisam.h: Added CACHE INDEX command sql/handler.h: Added CACHE INDEX command sql/mysql_priv.h: Added CACHE INDEX command sql/sql_lex.h: Added CACHE INDEX command sql/sql_yacc.yy: Added CACHE INDEX command
This commit is contained in:
@@ -1560,6 +1560,27 @@ int mysql_optimize_table(THD* thd, TABLE_LIST* tables, HA_CHECK_OPT* check_opt)
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Assigned specified indexes for a table into key cache
|
||||
|
||||
SYNOPSIS
|
||||
mysql_assign_to_keycache()
|
||||
thd Thread object
|
||||
tables Table list (one table only)
|
||||
|
||||
RETURN VALUES
|
||||
0 ok
|
||||
-1 error
|
||||
*/
|
||||
|
||||
int mysql_assign_to_keycache(THD* thd, TABLE_LIST* tables)
|
||||
{
|
||||
DBUG_ENTER("mysql_assign_to_keycache");
|
||||
DBUG_RETURN(mysql_admin_table(thd, tables, 0,
|
||||
"assign_to_keycache", TL_WRITE, 0, 0, 0,
|
||||
&handler::assign_to_keycache));
|
||||
}
|
||||
|
||||
/*
|
||||
Preload specified indexes for a table into key cache
|
||||
|
||||
|
||||
Reference in New Issue
Block a user