1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-09 22:24:09 +03:00

MDEV-9860: TokuDB ORDER BY DESC query is slower in 10.1 with ICP ON

Implement ha_tokudb::cancel_pushed_idx_cond().

This is a conservative fix which follows the approach from the previous
patch for:
BUG#1000051: Query with simple join and ORDER BY takes thousands times...
This commit is contained in:
Sergei Petrunia
2016-04-03 20:19:59 +03:00
parent c395aad668
commit 04737330be

View File

@@ -602,6 +602,12 @@ public:
// ICP introduced in MariaDB 5.5
Item* idx_cond_push(uint keyno, class Item* idx_cond);
#ifdef MARIADB_BASE_VERSION
void cancel_pushed_idx_cond()
{
invalidate_icp();
}
#endif
#if TOKU_INCLUDE_ALTER_56
public: