diff options
author | monty@hundin.mysql.fi <> | 2002-09-27 08:23:51 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-09-27 08:23:51 +0300 |
commit | 3a9eb4f6210159dd34a4cad0e9c447fcd3704535 (patch) | |
tree | 359beaded4d3ec4e37f8bfa26e10b8dee9feb4fe /sql/ha_heap.h | |
parent | ffdff5f76365b916b4d9b1c7235c153eb0cc061e (diff) | |
download | mariadb-git-3a9eb4f6210159dd34a4cad0e9c447fcd3704535.tar.gz |
Fix some ORDER BY ... DESC problems with InnoDB
Diffstat (limited to 'sql/ha_heap.h')
-rw-r--r-- | sql/ha_heap.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/ha_heap.h b/sql/ha_heap.h index aa675cfffea..504f5262bf3 100644 --- a/sql/ha_heap.h +++ b/sql/ha_heap.h @@ -41,13 +41,14 @@ class ha_heap: public handler { return (HA_READ_RND_SAME | HA_NO_INDEX | HA_KEYPOS_TO_RNDPOS | HA_NO_BLOBS | HA_NULL_KEY | HA_REC_NOT_IN_SEQ | - HA_NOT_READ_PREFIX_LAST | HA_NO_AUTO_INCREMENT); + HA_NO_AUTO_INCREMENT); } ulong index_flags(uint inx) const { return ((table->key_info[inx].algorithm == HA_KEY_ALG_BTREE) ? (HA_READ_NEXT | HA_READ_PREV | HA_READ_ORDER) : - (HA_ONLY_WHOLE_INDEX | HA_WRONG_ASCII_ORDER)); + (HA_ONLY_WHOLE_INDEX | HA_WRONG_ASCII_ORDER | + HA_NOT_READ_PREFIX_LAST)); } uint max_record_length() const { return HA_MAX_REC_LENGTH; } uint max_keys() const { return MAX_KEY; } |