[t:3486], fix issue on mainline

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@30542 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Zardosht Kasheff 2011-05-04 15:51:34 +00:00 committed by Yoni Fogel
parent 73a1c2ff7c
commit cde41ce1fd

View file

@ -4088,6 +4088,11 @@ int ha_tokudb::update_row(const uchar * old_row, uchar * new_row) {
error = pack_old_row_for_update(&old_prim_row, old_row, primary_key);
if (error) { goto cleanup; }
//
// make sure the buffers for the rows are big enough
//
fix_mult_rec_buff();
set_main_dict_put_flags(thd, &mult_put_flags[primary_key], false);
handle_rec_buff_for_hot_index();
lockretryN(wait_lock_time){