diff options
author | Monty <monty@mariadb.org> | 2017-11-28 23:42:51 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2017-12-03 13:58:36 +0200 |
commit | 52ca07c2a0977f74ccfb56363e4158f0bd0ad3a0 (patch) | |
tree | 92f49380e96c1962a6f599baf55c7d6d34e2dc53 /sql/ha_partition.h | |
parent | bfaf2d6e35d5decad9ab7ad06d19e20a73cd93a3 (diff) | |
download | mariadb-git-52ca07c2a0977f74ccfb56363e4158f0bd0ad3a0.tar.gz |
Add direct join support for Spider
Includes Spider patches
- 062_mariadb-10.2.0.direct_join_1and3.diff
- 063_mariadb-10.2.0.direct_join_for_single_partition.diff
- Test cases from Kentoku
Allows Spider to push full joins to the Spider engine trough the
create_group_by interface.
Other things:
- Increased MYSQL_VERSION_ID to check for 10211 (latest 10.2 version)
- Fix for const_table at calling create_group_by().
Original author: Kentoku SHIBA
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r-- | sql/ha_partition.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/ha_partition.h b/sql/ha_partition.h index f79a272abad..fe4f8628891 100644 --- a/sql/ha_partition.h +++ b/sql/ha_partition.h @@ -324,6 +324,14 @@ public: { return m_file; } + virtual part_id_range *get_part_spec() + { + return &m_part_spec; + } + virtual uint get_no_current_part_id() + { + return NO_CURRENT_PART_ID; + } Partition_share *get_part_share() { return part_share; } handler *clone(const char *name, MEM_ROOT *mem_root); virtual void set_part_info(partition_info *part_info) |