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

[t:3167],pass in correct number of DBs into put_multiple

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@27001 c7de825b-a66e-492c-adef-691d508d4ae1
parent 044135f5
......@@ -3565,7 +3565,7 @@ cleanup:
int ha_tokudb::insert_rows_to_dictionaries_mult(DBT* pk_key, DBT* pk_val, DB_TXN* txn, THD* thd) {
int error = 0;
uint curr_num_DBs = table->s->keys + test(hidden_primary_key);
uint curr_num_DBs = share->num_DBs;
ulonglong wait_lock_time = get_write_lock_wait_time(thd);
set_main_dict_put_flags(thd, &mult_put_flags[primary_key], false);
......
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