diff options
Diffstat (limited to 'storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction4.cc')
-rw-r--r-- | storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction4.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction4.cc b/storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction4.cc index e5db222964b..9dc1f1a5218 100644 --- a/storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction4.cc +++ b/storage/tokudb/ft-index/ft/tests/cachetable-clock-eviction4.cc @@ -164,12 +164,13 @@ static int pe_callback ( void *ftnode_pv __attribute__((__unused__)), PAIR_ATTR bytes_to_free __attribute__((__unused__)), - PAIR_ATTR* bytes_freed, - void* extraargs __attribute__((__unused__)) + void* extraargs __attribute__((__unused__)), + void (*finalize)(PAIR_ATTR bytes_freed, void *extra), + void *finalize_extra ) { assert(false); - *bytes_freed = bytes_to_free; + finalize(bytes_to_free, finalize_extra); return 0; } |