From 8eeb689e9fc57afe19a8dbff354b5f9f167867a9 Mon Sep 17 00:00:00 2001 From: Monty Date: Wed, 5 Jul 2017 18:20:06 +0300 Subject: 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 --- include/my_base.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/my_base.h') diff --git a/include/my_base.h b/include/my_base.h index b93300d7562..1e7cacd3426 100644 --- a/include/my_base.h +++ b/include/my_base.h @@ -204,6 +204,11 @@ enum ha_extra_function { HA_EXTRA_PREPARE_FOR_FORCED_CLOSE, /* Inform handler that we will do an alter table */ HA_EXTRA_PREPARE_FOR_ALTER_TABLE, + /* + Used in ha_partition::handle_ordered_index_scan() to inform engine + that we are starting an ordered index scan. Needed by Spider + */ + HA_EXTRA_STARTING_ORDERED_INDEX_SCAN }; /* Compatible option, to be deleted in 6.0 */ -- cgit v1.2.1