summaryrefslogtreecommitdiff
path: root/myisam/myisamdef.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2002-12-07 22:40:20 +0100
committerunknown <serg@serg.mysql.com>2002-12-07 22:40:20 +0100
commit6271ea35b83501781cf3ee51a62fd95870b3fb96 (patch)
treecac4edcace5032716391947982c07af2dba77b24 /myisam/myisamdef.h
parent23865c0eea7d3d670f4b84a76cbe3511fe241b7f (diff)
downloadmariadb-git-6271ea35b83501781cf3ee51a62fd95870b3fb96.tar.gz
bulk insert code optimized
mysql-test/r/distinct.result: updated mysql-test/r/fulltext.result: updated mysql-test/r/select.result: updated mysql-test/r/show_check.result: updated mysql-test/t/insert.test: updated
Diffstat (limited to 'myisam/myisamdef.h')
-rw-r--r--myisam/myisamdef.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/myisam/myisamdef.h b/myisam/myisamdef.h
index f0d6f740661..07744e11e5f 100644
--- a/myisam/myisamdef.h
+++ b/myisam/myisamdef.h
@@ -373,6 +373,7 @@ struct st_myisam_info {
#define MI_MIN_KEYBLOCK_LENGTH 50 /* When to split delete blocks */
#define MI_MIN_SIZE_BULK_INSERT_TREE 16384 /* this is per key */
+#define MI_MIN_ROWS_TO_USE_BULK_INSERT 100
/* The UNIQUE check is done with a hashed long key */
@@ -658,8 +659,6 @@ int mi_open_datafile(MI_INFO *info, MYISAM_SHARE *share, File file_to_dup);
int mi_open_keyfile(MYISAM_SHARE *share);
void mi_setup_functions(register MYISAM_SHARE *share);
-int _mi_init_bulk_insert(MI_INFO *info, ulong cache_size);
-
/* Functions needed by mi_check */
void mi_check_print_error _VARARGS((MI_CHECK *param, const char *fmt,...));
void mi_check_print_warning _VARARGS((MI_CHECK *param, const char *fmt,...));