summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorSachin <sachin.setiya@mariadb.com>2019-02-18 22:44:01 +0530
committerSachin <sachin.setiya@mariadb.com>2019-02-18 22:44:01 +0530
commitb72e778120c94ce1df9d11b7c4a9455032c9385e (patch)
tree6502a773904a295629cb6be45618e35bb9ce08b7 /sql/handler.h
parent15e5313020cadb7a67ff3a6ebef75bf088259f11 (diff)
downloadmariadb-git-bb-10.4-blob-index.tar.gz
final commit -2bb-10.4-blob-index
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/handler.h b/sql/handler.h
index 878968bf7e9..70fdaa7f3e3 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -144,7 +144,6 @@ enum enum_alter_inplace_result {
#define HA_PRIMARY_KEY_REQUIRED_FOR_POSITION (1ULL << 16)
#define HA_CAN_RTREEKEYS (1ULL << 17)
#define HA_NOT_DELETE_WITH_CACHE (1ULL << 18) /* unused */
-#define HA_CAN_HASH_KEYS (1ULL << 19)
/*
The following is we need to a primary key to delete (and update) a row.
If there is no primary key, all columns needs to be read on update and delete
@@ -320,6 +319,9 @@ enum enum_alter_inplace_result {
/* Safe for online backup */
#define HA_CAN_ONLINE_BACKUPS (1ULL << 56)
+/* Support native hash index */
+#define HA_CAN_HASH_KEYS (1ULL << 57)
+
/* bits in index_flags(index_number) for what you can do with index */
#define HA_READ_NEXT 1 /* TODO really use this flag */
#define HA_READ_PREV 2 /* supports ::index_prev */