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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user