mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
mi_keycache.c:
new file Many files: 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