Commit 4db9070e authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

[t:4413] fix ftloader-test on darwin

git-svn-id: file:///svn/toku/tokudb@44620 c7de825b-a66e-492c-adef-691d508d4ae1
parent d6d59ec4
...@@ -289,6 +289,7 @@ static void test_merge_files (const char *template, const char *output_name) { ...@@ -289,6 +289,7 @@ static void test_merge_files (const char *template, const char *output_name) {
}; };
int r = ft_loader_init_file_infos(&bl.file_infos); CKERR(r); int r = ft_loader_init_file_infos(&bl.file_infos); CKERR(r);
ft_loader_lock_init(&bl); ft_loader_lock_init(&bl);
ft_loader_init_error_callback(&bl.error_callback);
ft_loader_set_fractal_workers_count_from_c(&bl); ft_loader_set_fractal_workers_count_from_c(&bl);
struct merge_fileset fs; struct merge_fileset fs;
...@@ -335,6 +336,7 @@ static void test_merge_files (const char *template, const char *output_name) { ...@@ -335,6 +336,7 @@ static void test_merge_files (const char *template, const char *output_name) {
destroy_merge_fileset(&fs); destroy_merge_fileset(&fs);
ft_loader_fi_destroy(&bl.file_infos, FALSE); ft_loader_fi_destroy(&bl.file_infos, FALSE);
ft_loader_destroy_error_callback(&bl.error_callback);
ft_loader_lock_destroy(&bl); ft_loader_lock_destroy(&bl);
// verify the dbfile // verify the dbfile
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment