Commit 719d5342 authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

[t:5101] toku_ft_update and toku_ft_set_update are dead code.


git-svn-id: file:///svn/toku/tokudb@44716 c7de825b-a66e-492c-adef-691d508d4ae1
parent 4cfdf9d2
...@@ -87,12 +87,7 @@ void toku_ft_set_redirect_callback(FT_HANDLE brt, on_redirect_callback redir_cb, ...@@ -87,12 +87,7 @@ void toku_ft_set_redirect_callback(FT_HANDLE brt, on_redirect_callback redir_cb,
// Implementation note: Acquires a write lock on the entire database. // Implementation note: Acquires a write lock on the entire database.
// This function works by sending an BROADCAST-UPDATE message containing // This function works by sending an BROADCAST-UPDATE message containing
// the key and the extra. // the key and the extra.
// Question: Why does the update_function need a DB_TXN?
int toku_ft_set_update(FT_HANDLE brt, ft_update_func update_fun) __attribute__ ((warn_unused_result)); int toku_ft_set_update(FT_HANDLE brt, ft_update_func update_fun) __attribute__ ((warn_unused_result));
int toku_ft_update(FT_HANDLE brt, TOKUTXN txn, const DBT *key, const DBT *extra) __attribute__ ((warn_unused_result));
int toku_ft_broadcast_update(FT_HANDLE brt, TOKUTXN txn, const DBT *extra) __attribute__ ((warn_unused_result));
int toku_ft_handle_open(FT_HANDLE, const char *fname_in_env, int toku_ft_handle_open(FT_HANDLE, const char *fname_in_env,
int is_create, int only_create, CACHETABLE ct, TOKUTXN txn) __attribute__ ((warn_unused_result)); int is_create, int only_create, CACHETABLE ct, TOKUTXN txn) __attribute__ ((warn_unused_result));
......
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