diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-11-16 18:28:01 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-11-20 15:06:03 +0100 |
commit | f0f0d0725070c74974d6fb74983347691fb6751c (patch) | |
tree | c234e9bccde86e5bfeb8211116a94e3c8b818a1e /storage/archive | |
parent | cd29aee50d75918a94b5d019c78a459c2824d7e0 (diff) | |
download | mariadb-git-f0f0d0725070c74974d6fb74983347691fb6751c.tar.gz |
MDEV-14500 filesort to support engines with slow rnd_pos
If the engine wants to avoid rnd_pos() - force a temporary table
before a filesort. But don't do it if addon_fields are used.
Diffstat (limited to 'storage/archive')
-rw-r--r-- | storage/archive/ha_archive.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/archive/ha_archive.h b/storage/archive/ha_archive.h index 56ff566db8c..1f25fba4eed 100644 --- a/storage/archive/ha_archive.h +++ b/storage/archive/ha_archive.h @@ -108,7 +108,7 @@ public: return (HA_NO_TRANSACTIONS | HA_REC_NOT_IN_SEQ | HA_CAN_BIT_FIELD | HA_BINLOG_ROW_CAPABLE | HA_BINLOG_STMT_CAPABLE | HA_STATS_RECORDS_IS_EXACT | HA_CAN_EXPORT | - HA_HAS_RECORDS | HA_CAN_REPAIR | + HA_HAS_RECORDS | HA_CAN_REPAIR | HA_SLOW_RND_POS | HA_FILE_BASED | HA_CAN_INSERT_DELAYED | HA_CAN_GEOMETRY); } ulong index_flags(uint idx, uint part, bool all_parts) const |