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

[t:4618], fix regression introduced by fix for 4648

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41307 c7de825b-a66e-492c-adef-691d508d4ae1
parent 20c080c5
...@@ -4048,12 +4048,7 @@ int ha_tokudb::update_row(const uchar * old_row, uchar * new_row) { ...@@ -4048,12 +4048,7 @@ int ha_tokudb::update_row(const uchar * old_row, uchar * new_row) {
} }
else { else {
create_dbt_key_from_table(&prim_key, primary_key, key_buff, new_row, &has_null); create_dbt_key_from_table(&prim_key, primary_key, key_buff, new_row, &has_null);
if (key_changed(primary_key, old_row, new_row)) { create_dbt_key_from_table(&old_prim_key, primary_key, primary_key_buff, old_row, &has_null);
create_dbt_key_from_table(&old_prim_key, primary_key, primary_key_buff, old_row, &has_null);
}
else {
old_prim_key = prim_key;
}
} }
// //
......
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