summaryrefslogtreecommitdiff
path: root/storage/csv
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-11-16 18:28:01 +0100
committerSergei Golubchik <serg@mariadb.org>2018-11-20 15:06:03 +0100
commitf0f0d0725070c74974d6fb74983347691fb6751c (patch)
treec234e9bccde86e5bfeb8211116a94e3c8b818a1e /storage/csv
parentcd29aee50d75918a94b5d019c78a459c2824d7e0 (diff)
downloadmariadb-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/csv')
-rw-r--r--storage/csv/ha_tina.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/csv/ha_tina.h b/storage/csv/ha_tina.h
index c75a64faa52..5b389d984d6 100644
--- a/storage/csv/ha_tina.h
+++ b/storage/csv/ha_tina.h
@@ -107,7 +107,7 @@ public:
{
return (HA_NO_TRANSACTIONS | HA_REC_NOT_IN_SEQ | HA_NO_AUTO_INCREMENT |
HA_BINLOG_ROW_CAPABLE | HA_BINLOG_STMT_CAPABLE | HA_CAN_EXPORT |
- HA_CAN_REPAIR);
+ HA_CAN_REPAIR | HA_SLOW_RND_POS);
}
ulong index_flags(uint idx, uint part, bool all_parts) const
{