Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
2cac65ab
Commit
2cac65ab
authored
Mar 13, 2002
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
optimization fix for bulk insert code
parent
0248d7c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
myisam/mi_write.c
myisam/mi_write.c
+2
-1
No files found.
myisam/mi_write.c
View file @
2cac65ab
...
@@ -838,7 +838,8 @@ int _mi_init_bulk_insert(MI_INFO *info)
...
@@ -838,7 +838,8 @@ int _mi_init_bulk_insert(MI_INFO *info)
{
{
params
->
info
=
info
;
params
->
info
=
info
;
params
->
keynr
=
i
;
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
,
myisam_bulk_insert_tree_size
/
num_keys
,
0
,
(
qsort_cmp2
)
keys_compare
,
0
,
(
qsort_cmp2
)
keys_compare
,
0
,
(
tree_element_free
)
keys_free
,
(
void
*
)
params
++
);
(
tree_element_free
)
keys_free
,
(
void
*
)
params
++
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment