1
0
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:
igor@rurik.mysql.com
2003-07-16 12:30:49 -07:00
parent 5a458484ea
commit 42e1296e9d
12 changed files with 190 additions and 12 deletions

View File

@ -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