Commit f775cc54 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

refs #5744, fix do_update

git-svn-id: file:///svn/toku/tokudb@50731 c7de825b-a66e-492c-adef-691d508d4ae1
parent 89a702e8
...@@ -1704,12 +1704,11 @@ static int do_update(ft_update_func update_fun, DESCRIPTOR desc, BASEMENTNODE bn ...@@ -1704,12 +1704,11 @@ static int do_update(ft_update_func update_fun, DESCRIPTOR desc, BASEMENTNODE bn
uint32_t vallen; uint32_t vallen;
void *valp = le_latest_val_and_len(le, &vallen); void *valp = le_latest_val_and_len(le, &vallen);
vdbtp = toku_fill_dbt(&vdbt, valp, vallen); vdbtp = toku_fill_dbt(&vdbt, valp, vallen);
le_for_update = le;
} else { } else {
// otherwise, the val and leafentry are both going to be null // otherwise, the val and leafentry are both going to be null
vdbtp = NULL; vdbtp = NULL;
le_for_update = NULL;
} }
le_for_update = le;
struct setval_extra_s setval_extra = {setval_tag, false, 0, bn, cmd->msn, cmd->xids, struct setval_extra_s setval_extra = {setval_tag, false, 0, bn, cmd->msn, cmd->xids,
keyp, idx, le_for_update, oldest_referenced_xid, workdone, stats_to_update}; keyp, idx, le_for_update, oldest_referenced_xid, workdone, stats_to_update};
......
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