mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
optimization fix for bulk insert code
This commit is contained in:
parent
549c561907
commit
1b1f52631f
1 changed files with 2 additions and 1 deletions
|
@ -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++);
|
||||
|
|
Loading…
Reference in a new issue