summaryrefslogtreecommitdiff
path: root/include/my_base.h
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2012-11-11 11:47:44 -0800
committerIgor Babaev <igor@askmonty.org>2012-11-11 11:47:44 -0800
commite08f4f16303c234c82c397414c24c931b679f84a (patch)
tree8bbeaeca4d2bb24dfc13acfd32c5e56307d1c293 /include/my_base.h
parent0380b0e28034c8e5778e37540478f61d3d74a0bc (diff)
downloadmariadb-git-e08f4f16303c234c82c397414c24c931b679f84a.tar.gz
Fixed bug mdev-3851.
Any ref access to a table by a key fully extended by the components of the primary key should be actually an eq_ref access.
Diffstat (limited to 'include/my_base.h')
-rw-r--r--include/my_base.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/my_base.h b/include/my_base.h
index 905e4535360..e072bb7e2b1 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -282,6 +282,9 @@ enum ha_base_keytype {
#define HA_USES_BLOCK_SIZE ((uint) 32768)
#define HA_SORT_ALLOWS_SAME 512 /* Intern bit when sorting records */
+/* This flag can be used only in KEY::ext_key_flags */
+#define HA_EXT_NOSAME 131072
+
/* These flags can be added to key-seg-flag */
#define HA_SPACE_PACK 1 /* Pack space in key-seg */