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

MCOL-1052. The handler returns fixed value.

This commit is contained in:
Roman Nozdrin
2018-03-19 20:45:21 +03:00
parent e14b327a57
commit a03ecb7a8e

View File

@@ -1152,7 +1152,13 @@ create_calpont_group_by_handler(THD *thd, Query *query)
int ha_calpont_group_by_handler::next_row() 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[] = static struct st_mysql_sys_var* calpont_system_variables[] =