summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/my_base.h3
-rw-r--r--include/myisam.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/include/my_base.h b/include/my_base.h
index 8ef8301b84d..bcb8c8d6a2f 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -106,9 +106,6 @@ enum ha_extra_function {
HA_EXTRA_IGNORE_DUP_KEY, /* Dup keys don't rollback everything*/
HA_EXTRA_NO_IGNORE_DUP_KEY,
HA_EXTRA_DONT_USE_CURSOR_TO_UPDATE, /* Cursor will not be used for update */
- HA_EXTRA_BULK_INSERT_BEGIN,
- HA_EXTRA_BULK_INSERT_FLUSH, /* Flush one index */
- HA_EXTRA_BULK_INSERT_END,
HA_EXTRA_PREPARE_FOR_DELETE,
HA_EXTRA_PREPARE_FOR_UPDATE /* Remove read cache if problems */
};
diff --git a/include/myisam.h b/include/myisam.h
index 79d18bf8736..94b5d23bba6 100644
--- a/include/myisam.h
+++ b/include/myisam.h
@@ -433,6 +433,10 @@ void mi_disable_non_unique_index(MI_INFO *info, ha_rows rows);
my_bool mi_test_if_sort_rep(MI_INFO *info, ha_rows rows, ulonglong key_map,
my_bool force);
+int mi_init_bulk_insert(MI_INFO *info, ulong cache_size, ha_rows rows);
+void mi_flush_bulk_insert(MI_INFO *info, uint inx);
+void mi_end_bulk_insert(MI_INFO *info);
+
#ifdef __cplusplus
}
#endif