Commit 7450374e authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:3049], fix bug

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@25758 c7de825b-a66e-492c-adef-691d508d4ae1
parent 3af2681d
...@@ -3859,6 +3859,13 @@ int ha_tokudb::update_row(const uchar * old_row, uchar * new_row) { ...@@ -3859,6 +3859,13 @@ int ha_tokudb::update_row(const uchar * old_row, uchar * new_row) {
if (error) { goto cleanup; } if (error) { goto cleanup; }
set_main_dict_put_flags(thd, &mult_put_flags[primary_key]); set_main_dict_put_flags(thd, &mult_put_flags[primary_key]);
if (mult_put_flags[primary_key] == DB_NOOVERWRITE_NO_ERROR) {
//
//hopefully temporary, right now, put_multiple does not
// support use of DB_NOOVERWRITE_NO_ERROR as put_flag
//
mult_put_flags[primary_key] = DB_NOOVERWRITE;
}
lockretryN(wait_lock_time){ lockretryN(wait_lock_time){
error = db_env->update_multiple( error = db_env->update_multiple(
db_env, db_env,
......
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