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

addresses #846

tmp_key_buff was not big enough

git-svn-id: file:///svn/mysql/tokudb-engine/src@4200 c7de825b-a66e-492c-adef-691d508d4ae1
parent 9be6de8e
......@@ -3238,7 +3238,7 @@ int ha_tokudb::add_index(TABLE *table_arg, KEY *key_info, uint num_of_keys) {
DBT current_primary_key;
DBT row;
DB_TXN* txn = NULL;
uchar tmp_key_buff[table_arg->s->rec_buff_length];
uchar tmp_key_buff[2*table_arg->s->rec_buff_length];
//
// these variables are for error handling
//
......
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