1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

Merge pull request #890 from drrtuy/separate_pushdown

MCOL-2178 Separate ha_mcs_pushdown.cpp compilation.
This commit is contained in:
Gagan Goel
2019-10-07 18:50:01 -04:00
committed by GitHub
8 changed files with 33 additions and 31 deletions

View File

@ -4154,8 +4154,10 @@ int ha_calpont_impl_rnd_pos(uchar* buf, uchar* pos)
* 0 if success
* others if something went wrong whilst getting the result set
***********************************************************/
int ha_calpont_impl_group_by_init(ha_calpont_group_by_handler* group_hand, TABLE* table)
int ha_calpont_impl_group_by_init(mcs_handler_info *handler_info, TABLE* table)
{
ha_calpont_group_by_handler *group_hand=
reinterpret_cast<ha_calpont_group_by_handler*>(handler_info->hndl_ptr);
string tableName = group_hand->table_list->table->s->table_name.str;
IDEBUG( cout << "group_by_init for table " << tableName << endl );
THD* thd = current_thd;
@ -4592,7 +4594,7 @@ internal_error:
* HA_ERR_END_OF_FILE if the record set has come to an end
* others if something went wrong whilst getting the result set
***********************************************************/
int ha_calpont_impl_group_by_next(ha_calpont_group_by_handler* group_hand, TABLE* table)
int ha_calpont_impl_group_by_next(TABLE* table)
{
THD* thd = current_thd;
@ -4680,7 +4682,7 @@ int ha_calpont_impl_group_by_next(ha_calpont_group_by_handler* group_hand, TABLE
return rc;
}
int ha_calpont_impl_group_by_end(ha_calpont_group_by_handler* group_hand, TABLE* table)
int ha_calpont_impl_group_by_end(TABLE* table)
{
int rc = 0;
THD* thd = current_thd;