summaryrefslogtreecommitdiff
path: root/myisam/myisamlog.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2001-05-24 13:14:25 +0200
committerunknown <serg@serg.mysql.com>2001-05-24 13:14:25 +0200
commit1c8902e4ef6e57b648fcd9978bc1e20e917df40b (patch)
tree10377fbee77e1cf260ad739e99d78ff27c26e8d4 /myisam/myisamlog.c
parent83e3058c3e6ebd1ec2ffa03854eaf1388bb4c484 (diff)
downloadmariadb-git-1c8902e4ef6e57b648fcd9978bc1e20e917df40b.tar.gz
ALTER TABLE ... DISABLE/ENABLE KEYS, code cleanup
myisam/ft_boolean_search.c: qsort_cmp -> qsort_cmp2 myisam/mi_extra.c: ALTER TABLE ... ENABLE/DISABLE KEYS mi_extra(HA_EXTRA_NO_KEYS) disables only only non-unique keys myisam/myisamlog.c: qsort_cmp -> qsort_cmp2 sql/ha_myisam.cc: ALTER TABLE ENABLE/DISABLE KEYS deactivate_non_unique_index(HA_POS_ERROR) to force deactivation sql/ha_myisam.h: ALTER TABLE ... DISABLE/ENABLE KEYS sql/sql_table.cc: ALTER TABLE ... DISABLE/ENABLE KEYS
Diffstat (limited to 'myisam/myisamlog.c')
-rw-r--r--myisam/myisamlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/myisamlog.c b/myisam/myisamlog.c
index ca2c4f27a74..8ff9bb0dc1a 100644
--- a/myisam/myisamlog.c
+++ b/myisam/myisamlog.c
@@ -331,7 +331,7 @@ static int examine_log(my_string file_name, char **table_names)
init_io_cache(&cache,file,0,READ_CACHE,start_offset,0,MYF(0));
bzero((gptr) com_count,sizeof(com_count));
- init_tree(&tree,0,sizeof(file_info),(qsort_cmp) file_info_compare,1,
+ init_tree(&tree,0,sizeof(file_info),(qsort_cmp2) file_info_compare,1,
(void(*)(void*)) file_info_free);
VOID(init_key_cache(KEY_CACHE_SIZE,(uint) (10*4*(IO_SIZE+MALLOC_OVERHEAD))));