diff options
author | Kentoku SHIBA <kentokushiba@gmail.com> | 2013-09-17 03:22:54 +0900 |
---|---|---|
committer | Kentoku SHIBA <kentokushiba@gmail.com> | 2013-09-17 03:22:54 +0900 |
commit | dc01d230ed2f0f693e0444c64638743bd57774ed (patch) | |
tree | 859704fa52313f74cc0fb374dc59915f1cd01b69 /storage/spider/ha_spider.h | |
parent | e9d53a384cdfd4174bc1c69100cf04006d217ec7 (diff) | |
download | mariadb-git-dc01d230ed2f0f693e0444c64638743bd57774ed.tar.gz |
add some direct aggregate feature.
Diffstat (limited to 'storage/spider/ha_spider.h')
-rw-r--r-- | storage/spider/ha_spider.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/storage/spider/ha_spider.h b/storage/spider/ha_spider.h index 50ddeb1c050..4d1f6067bdc 100644 --- a/storage/spider/ha_spider.h +++ b/storage/spider/ha_spider.h @@ -227,6 +227,11 @@ public: #ifdef INFO_KIND_FORCE_LIMIT_BEGIN longlong info_limit; #endif + spider_index_rnd_init prev_index_rnd_init; +#ifdef HANDLER_HAS_DIRECT_AGGREGATE + SPIDER_ITEM_HLD *direct_aggregate_item_first; + SPIDER_ITEM_HLD *direct_aggregate_item_current; +#endif /* for fulltext search */ bool ft_init_and_first; @@ -697,6 +702,9 @@ public: uint info_type, void *info ); +#ifdef HANDLER_HAS_DIRECT_AGGREGATE + void return_record_by_parent(); +#endif TABLE *get_table(); void set_ft_discard_bitmap(); void set_searched_bitmap(); @@ -918,6 +926,13 @@ public: ulong sql_type, bool test_flg ); +#ifdef HANDLER_HAS_DIRECT_AGGREGATE + int append_sum_select_sql_part( + ulong sql_type, + const char *alias, + uint alias_length + ); +#endif int append_match_select_sql_part( ulong sql_type, const char *alias, |