diff options
author | unknown <sergefp@mysql.com> | 2005-09-30 14:20:15 +0400 |
---|---|---|
committer | unknown <sergefp@mysql.com> | 2005-09-30 14:20:15 +0400 |
commit | b8ad9d14612234b7c6e30302359a8c1054bf5a3c (patch) | |
tree | 86d4669e88b4bbb8049a4cf5b7194910d9766097 /sql/handler.h | |
parent | ec5df5f269d598accdd9285c5c8c582d2de62a83 (diff) | |
download | mariadb-git-b8ad9d14612234b7c6e30302359a8c1054bf5a3c.tar.gz |
BUG#13081: Disable ROR-index_merge for NDB tables (by adding a
HA_KEY_SCAN_NOT_ROR index flag) as NDB index scans are not guaranteed to be ROR
scans.
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/handler.h b/sql/handler.h index f4f6a8592bb..50f697bc980 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -98,6 +98,13 @@ #define HA_ONLY_WHOLE_INDEX 16 /* Can't use part key searches */ #define HA_KEYREAD_ONLY 64 /* Support HA_EXTRA_KEYREAD */ +/* + Index scan will not return records in rowid order. Not guaranteed to be + set for unordered (e.g. HASH) indexes. +*/ +#define HA_KEY_SCAN_NOT_ROR 128 + + /* operations for disable/enable indexes */ #define HA_KEY_SWITCH_NONUNIQ 0 #define HA_KEY_SWITCH_ALL 1 |