Commit 0817b4fd authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:3015], remove another unused variable

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@25192 c7de825b-a66e-492c-adef-691d508d4ae1
parent e8b4bc0e
......@@ -3687,7 +3687,7 @@ int ha_tokudb::key_cmp(uint keynr, const uchar * old_row, const uchar * new_row)
//
int ha_tokudb::update_row(const uchar * old_row, uchar * new_row) {
TOKUDB_DBUG_ENTER("update_row");
DBT prim_key, old_prim_key, row, prim_row;
DBT prim_key, old_prim_key, prim_row;
int error;
bool primary_key_changed;
bool has_null;
......@@ -3703,7 +3703,6 @@ int ha_tokudb::update_row(const uchar * old_row, uchar * new_row) {
ulonglong wait_lock_time = get_write_lock_wait_time(thd);
LINT_INIT(error);
bzero((void *) &row, sizeof(row));
bzero((void *) &prim_key, sizeof(prim_key));
bzero((void *) &old_prim_key, sizeof(old_prim_key));
bzero((void *) &prim_row, sizeof(prim_row));
......
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