mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix some ORDER BY ... DESC problems with InnoDB
sql/ha_heap.h: Move HA_NOT_READ_PREFIX_LAST to index_flags() sql/ha_isammrg.h: Move HA_NOT_READ_PREFIX_LAST to index_flags() sql/handler.h: Added comment sql/sql_select.cc: Test HA_NOT_READ_PREFIX_LAST from index_flags() instead of table_flags(). Should fix some ORDER BY ... DESC problems with InnoDB
This commit is contained in:
@ -81,7 +81,7 @@
|
||||
#define HA_READ_PREV 4 /* Read prev. record with same key */
|
||||
#define HA_READ_ORDER 8 /* Read through record-keys in order */
|
||||
#define HA_ONLY_WHOLE_INDEX 16 /* Can't use part key searches */
|
||||
#define HA_NOT_READ_PREFIX_LAST 32
|
||||
#define HA_NOT_READ_PREFIX_LAST 32 /* No support for index_read_last() */
|
||||
#define HA_KEY_READ_ONLY 64 /* Support HA_EXTRA_KEYREAD */
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user