Commit 9ca3d9ea authored by Sergei Golubchik's avatar Sergei Golubchik

remove unused method

parent e8daa418
......@@ -118,9 +118,6 @@ class group_by_handler
/* End scanning */
virtual int end_scan()=0;
/* Information for optimizer (used by EXPLAIN) */
virtual int info(uint flag, ha_statistics *stats)= 0;
/* Function that calls the above scan functions */
int execute(JOIN *join);
......
......@@ -377,7 +377,6 @@ class ha_seq_group_by_handler: public group_by_handler
int init_scan() { first_row= 1 ; return 0; }
int next_row();
int end_scan() { return 0; }
int info(uint flag, ha_statistics *stats);
};
static group_by_handler *
......@@ -449,14 +448,6 @@ bool ha_seq_group_by_handler::init(TABLE *temporary_table, Item *having_arg,
}
int ha_seq_group_by_handler::info(uint flag, ha_statistics *stats)
{
bzero(stats, sizeof(*stats));
/* We only return one records for a SUM(*) without a group by */
stats->records= 1;
return 0;
}
int ha_seq_group_by_handler::next_row()
{
List_iterator_fast<Item> it(*fields);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment