diff options
author | unknown <serg@serg.mysql.com> | 2002-03-13 13:17:11 +0000 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2002-03-13 13:17:11 +0000 |
commit | 1b1f52631f4494d07c7e3335573855c5ced6b3c1 (patch) | |
tree | 525e01ca7036588148d8c5cb3346bb2282a47091 /myisam/mi_write.c | |
parent | 549c561907530dd0b27fffa4245ca5919743bf3e (diff) | |
download | mariadb-git-1b1f52631f4494d07c7e3335573855c5ced6b3c1.tar.gz |
optimization fix for bulk insert code
Diffstat (limited to 'myisam/mi_write.c')
-rw-r--r-- | myisam/mi_write.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/myisam/mi_write.c b/myisam/mi_write.c index 1f43a5defcc..5a2711aac92 100644 --- a/myisam/mi_write.c +++ b/myisam/mi_write.c @@ -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++); |