summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorserg@serg.mylan <>2003-10-31 10:34:34 +0100
committerserg@serg.mylan <>2003-10-31 10:34:34 +0100
commit74551a72ec4603e1a29f119da5479e70afd7949c (patch)
treee3649ecfe44ca927dd7369b8cd2116bb28646ad0 /sql/handler.h
parente5d60351884b93c81f501f1da056bdccfd2d19d1 (diff)
parent906ad716cc73b5b1388f761c5f7edbcad2f4c1ca (diff)
downloadmariadb-git-74551a72ec4603e1a29f119da5479e70afd7949c.tar.gz
Merge bk-internal:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sql/handler.h b/sql/handler.h
index 29dea7f213b..c24bf777f01 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -306,6 +306,7 @@ public:
virtual bool check_and_repair(THD *thd) {return 1;}
virtual int optimize(THD* thd,HA_CHECK_OPT* check_opt);
virtual int analyze(THD* thd, HA_CHECK_OPT* check_opt);
+ virtual int assign_to_keycache(THD* thd, HA_CHECK_OPT* check_opt);
virtual int preload_keys(THD* thd, HA_CHECK_OPT* check_opt);
virtual int backup(THD* thd, HA_CHECK_OPT* check_opt);
/*
@@ -389,8 +390,10 @@ int ha_create_table(const char *name, HA_CREATE_INFO *create_info,
bool update_create_info);
int ha_delete_table(enum db_type db_type, const char *path);
void ha_drop_database(char* path);
-void ha_key_cache(void);
-void ha_resize_key_cache(void);
+int ha_key_cache(KEY_CACHE_VAR *key_cache);
+int ha_resize_key_cache(KEY_CACHE_VAR *key_cache);
+int ha_change_key_cache_param(KEY_CACHE_VAR *key_cache);
+int ha_end_key_cache(KEY_CACHE_VAR *key_cache);
int ha_start_stmt(THD *thd);
int ha_report_binlog_offset_and_commit(THD *thd, char *log_file_name,
my_off_t end_offset);