mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
BUG#625841: Assertion `!table || (!table->read_set || bitmap_is_set
- When find_all_keys() checks which table columns are needed for table scan that is done before the sorting, it should also analyze pushed index condition. This is achieved by remembering/checking pre-index-pushed condition.
This commit is contained in:
@ -738,6 +738,13 @@ class SQL_SELECT :public Sql_alloc {
|
||||
public:
|
||||
QUICK_SELECT_I *quick; // If quick-select used
|
||||
COND *cond; // where condition
|
||||
|
||||
/*
|
||||
When using Index Condition Pushdown: condition that we've had before
|
||||
extracting and pushing index condition.
|
||||
In other cases, NULL.
|
||||
*/
|
||||
Item *pre_idx_push_select_cond;
|
||||
TABLE *head;
|
||||
IO_CACHE file; // Positions to used records
|
||||
ha_rows records; // Records in use if read from file
|
||||
|
Reference in New Issue
Block a user