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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
28749171
Commit
28749171
authored
Jun 14, 2002
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not use bulk insert tree code if ``myisam_bulk_insert_tree_size'' is too small
parent
74e23999
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
myisam/mi_write.c
myisam/mi_write.c
+2
-1
myisam/myisamdef.h
myisam/myisamdef.h
+4
-2
No files found.
myisam/mi_write.c
View file @
28749171
...
...
@@ -821,7 +821,8 @@ int _mi_init_bulk_insert(MI_INFO *info)
}
}
if
(
num_keys
==
0
||
num_keys
>
myisam_bulk_insert_tree_size
)
if
(
num_keys
==
0
||
num_keys
*
MI_MIN_SIZE_BULK_INSERT_TREE
>
myisam_bulk_insert_tree_size
)
return
0
;
info
->
bulk_insert
=
(
TREE
*
)
...
...
myisam/myisamdef.h
View file @
28749171
...
...
@@ -373,6 +373,8 @@ struct st_myisam_info {
#define MI_MAX_KEYPTR_SIZE 5
/* For calculating block lengths */
#define MI_MIN_KEYBLOCK_LENGTH 50
/* When to split delete blocks */
#define MI_MIN_SIZE_BULK_INSERT_TREE 16384
/* this is per key */
/* The UNIQUE check is done with a hashed long key */
#define MI_UNIQUE_HASH_TYPE HA_KEYTYPE_ULONG_INT
...
...
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