Commit 2cac65ab authored by serg@serg.mysql.com's avatar serg@serg.mysql.com

optimization fix for bulk insert code

parent 0248d7c9
......@@ -838,7 +838,8 @@ int _mi_init_bulk_insert(MI_INFO *info)
{
params->info=info;
params->keynr=i;
init_tree(& info->bulk_insert[i], 0,
init_tree(& info->bulk_insert[i],
myisam_bulk_insert_tree_size / num_keys / 4 + 10,
myisam_bulk_insert_tree_size / num_keys, 0,
(qsort_cmp2)keys_compare, 0,
(tree_element_free) keys_free, (void *)params++);
......
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