summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2002-09-18 21:04:49 +0300
committermonty@mashka.mysql.fi <>2002-09-18 21:04:49 +0300
commitf638ee6df91a32ed767fa67cf643dfa07f9a82d4 (patch)
tree83f34b98c4e43e4f23f9b941d93676b65ef1b657 /include
parentdfd0f82b9368cd4d023ebc1f6eab6e88622b060c (diff)
downloadmariadb-git-f638ee6df91a32ed767fa67cf643dfa07f9a82d4.tar.gz
Added code to flush a bulk_insert index.
This fixes a bug when doing multi-row inserts on table with an auto_increment key that is not in the first key segment.
Diffstat (limited to 'include')
-rw-r--r--include/my_base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/my_base.h b/include/my_base.h
index ae8fc2204d5..7d7e296ead3 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -107,6 +107,7 @@ enum ha_extra_function {
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
};