mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Adding multi_range_read support to partitions
Other things: - Cleanup of allocated bitmaps done in open(), which simplifies init_partition_bitmaps() - Add needed defines in ha_spider.cc to enable new spider code - Fixed some DBUG_PRINT() to be consistent with normal code - Removed end space - The changes in test cases partition_innodb, partition_range, partition_pruning etc are becasue partitions can now more exactly calculate the number of rows in a range. Contains spider patches: 014,015,023,033,035,037,040,042,044,045,049,050,051,053,059
This commit is contained in:
@ -1325,6 +1325,10 @@ public:
|
||||
JOIN_CACHE_BKA(JOIN *j, JOIN_TAB *tab, uint flags, JOIN_CACHE *prev)
|
||||
:JOIN_CACHE(j, tab, prev), mrr_mode(flags) {}
|
||||
|
||||
JOIN_CACHE_BKA(JOIN_CACHE_BKA *bka)
|
||||
:JOIN_CACHE(bka->join, bka->join_tab, bka->prev_cache),
|
||||
mrr_mode(bka->mrr_mode) {}
|
||||
|
||||
uchar **get_curr_association_ptr() { return &curr_association; }
|
||||
|
||||
/* Initialize the BKA cache */
|
||||
@ -1421,6 +1425,10 @@ public:
|
||||
JOIN_CACHE_BKAH(JOIN *j, JOIN_TAB *tab, uint flags, JOIN_CACHE *prev)
|
||||
:JOIN_CACHE_BNLH(j, tab, prev), mrr_mode(flags) {}
|
||||
|
||||
JOIN_CACHE_BKAH(JOIN_CACHE_BKAH *bkah)
|
||||
:JOIN_CACHE_BNLH(bkah->join, bkah->join_tab, bkah->prev_cache),
|
||||
mrr_mode(bkah->mrr_mode) {}
|
||||
|
||||
uchar **get_curr_association_ptr() { return &curr_matching_chain; }
|
||||
|
||||
/* Initialize the BKAH cache */
|
||||
|
Reference in New Issue
Block a user