Commit d1efe9da authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#2919 refs[t:2919] speed up brt_is_empty by applying a noop instead of an...

#2919 refs[t:2919] speed up brt_is_empty by applying a noop instead of an optimize message to the leaf nodes

git-svn-id: file:///svn/toku/tokudb@23677 c7de825b-a66e-492c-adef-691d508d4ae1
parent 476cbe26
...@@ -5569,7 +5569,7 @@ toku_brt_is_empty (BRT brt, /*out*/BOOL *try_again) { ...@@ -5569,7 +5569,7 @@ toku_brt_is_empty (BRT brt, /*out*/BOOL *try_again) {
DBT val; DBT val;
toku_init_dbt(&key); toku_init_dbt(&key);
toku_init_dbt(&val); toku_init_dbt(&val);
BRT_MSG_S brtcmd = { BRT_OPTIMIZE, message_xids, .u.id={&key,&val}}; BRT_MSG_S brtcmd = { BRT_NONE, message_xids, .u.id={&key,&val}};
struct is_empty_struct_s is_empty_struct = { TRUE, &brtcmd }; struct is_empty_struct_s is_empty_struct = { TRUE, &brtcmd };
......
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