mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01: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:
parent
c395aad668
commit
04737330be
1 changed files with 6 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue