diff options
author | sergefp@mysql.com <> | 2005-09-30 14:20:15 +0400 |
---|---|---|
committer | sergefp@mysql.com <> | 2005-09-30 14:20:15 +0400 |
commit | 3625ec5127dea21ef333a9ddcc63885110b89260 (patch) | |
tree | 86d4669e88b4bbb8049a4cf5b7194910d9766097 /sql/handler.h | |
parent | 10860b1108805c9e0f74fff6b86635a684842c2c (diff) | |
download | mariadb-git-3625ec5127dea21ef333a9ddcc63885110b89260.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 |