summaryrefslogtreecommitdiff
path: root/isam/isamlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'isam/isamlog.c')
-rw-r--r--isam/isamlog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/isam/isamlog.c b/isam/isamlog.c
index d1347d46c2e..675a56e8fd9 100644
--- a/isam/isamlog.c
+++ b/isam/isamlog.c
@@ -325,8 +325,8 @@ 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,
- (void(*)(void*)) file_info_free);
+ init_tree(&tree,0,0,sizeof(file_info),(qsort_cmp2) file_info_compare,1,
+ (tree_element_free) file_info_free, NULL);
VOID(init_key_cache(KEY_CACHE_SIZE,(uint) (10*4*(IO_SIZE+MALLOC_OVERHEAD))));
files_open=0; access_time=0;