You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-1052. The handler returns fixed value.
This commit is contained in:
@ -1145,14 +1145,20 @@ create_calpont_group_by_handler(THD *thd, Query *query)
|
||||
ha_calpont_group_by_handler *handler;
|
||||
Item *item;
|
||||
List_iterator_fast<Item> it(*query->select);
|
||||
|
||||
|
||||
handler= new ha_calpont_group_by_handler(thd, query->select, query->from);
|
||||
return handler;
|
||||
}
|
||||
|
||||
int ha_calpont_group_by_handler::next_row()
|
||||
{
|
||||
return(0);
|
||||
if (!first_row)
|
||||
return(HA_ERR_END_OF_FILE);
|
||||
first_row= 0;
|
||||
Field *field = *(table->field);
|
||||
field->store(5LL, 1);
|
||||
field->set_notnull();
|
||||
return(0);
|
||||
}
|
||||
|
||||
static struct st_mysql_sys_var* calpont_system_variables[] =
|
||||
|
Reference in New Issue
Block a user