diff options
author | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2018-01-23 19:20:10 +0200 |
---|---|---|
committer | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2018-01-23 19:20:10 +0200 |
commit | f6716cef7eb267db958ce72c597d765bb8b7923e (patch) | |
tree | cd3893f9d635908b9690479a051a35ed856cc868 /storage/tokudb/PerconaFT/ft/tests/ftloader-test-writer-errors.cc | |
parent | 618d8fdf37c7ee8e21fc3c9913d99a7894a46ff1 (diff) | |
download | mariadb-git-f6716cef7eb267db958ce72c597d765bb8b7923e.tar.gz |
5.6.38-83.0
Diffstat (limited to 'storage/tokudb/PerconaFT/ft/tests/ftloader-test-writer-errors.cc')
-rw-r--r-- | storage/tokudb/PerconaFT/ft/tests/ftloader-test-writer-errors.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/tokudb/PerconaFT/ft/tests/ftloader-test-writer-errors.cc b/storage/tokudb/PerconaFT/ft/tests/ftloader-test-writer-errors.cc index 0784ca87a26..e4423319518 100644 --- a/storage/tokudb/PerconaFT/ft/tests/ftloader-test-writer-errors.cc +++ b/storage/tokudb/PerconaFT/ft/tests/ftloader-test-writer-errors.cc @@ -154,7 +154,7 @@ static int write_dbfile (char *tf_template, int n, char *output_name, bool expec toku_set_func_malloc_only(my_malloc); toku_set_func_realloc_only(my_realloc); - ft_loader_set_os_fwrite(bad_fwrite); + toku_set_func_fwrite(bad_fwrite); toku_set_func_write(bad_write); toku_set_func_pwrite(bad_pwrite); ft_loader_set_error_function(&bl.error_callback, NULL, NULL); @@ -164,7 +164,7 @@ static int write_dbfile (char *tf_template, int n, char *output_name, bool expec toku_set_func_malloc_only(NULL); toku_set_func_realloc_only(NULL); - ft_loader_set_os_fwrite(NULL); + toku_set_func_fwrite(nullptr); toku_set_func_write(NULL); toku_set_func_pwrite(NULL); |