Commit d93138ec authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#3011 remove *extra from *multiple refs[t:3011]

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@25632 c7de825b-a66e-492c-adef-691d508d4ae1
parent 64eb205e
...@@ -996,8 +996,7 @@ inline int tokudb_generate_row( ...@@ -996,8 +996,7 @@ inline int tokudb_generate_row(
DBT *dest_key, DBT *dest_key,
DBT *dest_val, DBT *dest_val,
const DBT *src_key, const DBT *src_key,
const DBT *src_val, const DBT *src_val
void *extra
) )
{ {
int error; int error;
...@@ -1118,8 +1117,8 @@ int generate_row_for_del( ...@@ -1118,8 +1117,8 @@ int generate_row_for_del(
DB *src_db, DB *src_db,
DBT *dest_key, DBT *dest_key,
const DBT *src_key, const DBT *src_key,
const DBT *src_val, const DBT *src_val
void *extra) )
{ {
return tokudb_generate_row( return tokudb_generate_row(
dest_db, dest_db,
...@@ -1127,8 +1126,7 @@ int generate_row_for_del( ...@@ -1127,8 +1126,7 @@ int generate_row_for_del(
dest_key, dest_key,
NULL, NULL,
src_key, src_key,
src_val, src_val
extra
); );
} }
...@@ -1149,8 +1147,7 @@ int generate_row_for_put( ...@@ -1149,8 +1147,7 @@ int generate_row_for_put(
dest_key, dest_key,
dest_val, dest_val,
src_key, src_key,
src_val, src_val
extra
); );
} }
...@@ -2170,7 +2167,6 @@ int ha_tokudb::pack_row_in_buff( ...@@ -2170,7 +2167,6 @@ int ha_tokudb::pack_row_in_buff(
row->size = (size_t) (var_field_data_ptr - row_buff); row->size = (size_t) (var_field_data_ptr - row_buff);
r = 0; r = 0;
cleanup:
dbug_tmp_restore_column_map(table->write_set, old_map); dbug_tmp_restore_column_map(table->write_set, old_map);
return r; return r;
} }
...@@ -3208,7 +3204,7 @@ int ha_tokudb::is_index_unique(bool* is_unique, DB_TXN* txn, DB* db, KEY* key_in ...@@ -3208,7 +3204,7 @@ int ha_tokudb::is_index_unique(bool* is_unique, DB_TXN* txn, DB* db, KEY* key_in
sprintf( sprintf(
status_msg, status_msg,
"Verifying index uniqueness: Checked %llu of %llu rows in key-%s.", "Verifying index uniqueness: Checked %llu of %llu rows in key-%s.",
cnt, (long long unsigned) cnt,
share->rows, share->rows,
key_info->name); key_info->name);
thd_proc_info(thd, status_msg); thd_proc_info(thd, status_msg);
...@@ -3537,8 +3533,7 @@ int ha_tokudb::insert_rows_to_dictionaries_mult(DBT* pk_key, DBT* pk_val, DB_TXN ...@@ -3537,8 +3533,7 @@ int ha_tokudb::insert_rows_to_dictionaries_mult(DBT* pk_key, DBT* pk_val, DB_TXN
share->key_file, share->key_file,
mult_key_dbt, mult_key_dbt,
mult_rec_dbt, mult_rec_dbt,
mult_put_flags, mult_put_flags
NULL
); );
lockretry_wait; lockretry_wait;
} }
...@@ -3853,8 +3848,7 @@ int ha_tokudb::update_row(const uchar * old_row, uchar * new_row) { ...@@ -3853,8 +3848,7 @@ int ha_tokudb::update_row(const uchar * old_row, uchar * new_row) {
2*curr_num_DBs, 2*curr_num_DBs,
mult_key_dbt, mult_key_dbt,
curr_num_DBs, curr_num_DBs,
mult_rec_dbt, mult_rec_dbt
NULL
); );
lockretry_wait; lockretry_wait;
} }
...@@ -3967,8 +3961,7 @@ int ha_tokudb::delete_row(const uchar * record) { ...@@ -3967,8 +3961,7 @@ int ha_tokudb::delete_row(const uchar * record) {
curr_num_DBs, curr_num_DBs,
share->key_file, share->key_file,
mult_key_dbt, mult_key_dbt,
mult_del_flags, mult_del_flags
NULL
); );
lockretry_wait; lockretry_wait;
} }
......
...@@ -117,8 +117,7 @@ int generate_row_for_del( ...@@ -117,8 +117,7 @@ int generate_row_for_del(
DB *src_db, DB *src_db,
DBT *dest_key, DBT *dest_key,
const DBT *src_key, const DBT *src_key,
const DBT *src_val, const DBT *src_val
void *extra
); );
int generate_row_for_put( int generate_row_for_put(
DB *dest_db, DB *dest_db,
...@@ -126,8 +125,7 @@ int generate_row_for_put( ...@@ -126,8 +125,7 @@ int generate_row_for_put(
DBT *dest_key, DBT *dest_key,
DBT *dest_val, DBT *dest_val,
const DBT *src_key, const DBT *src_key,
const DBT *src_val, const DBT *src_val
void *extra
); );
......
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