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

remove unused method

parent e8daa418
...@@ -118,9 +118,6 @@ public: ...@@ -118,9 +118,6 @@ public:
/* End scanning */ /* End scanning */
virtual int end_scan()=0; 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 */ /* Function that calls the above scan functions */
int execute(JOIN *join); int execute(JOIN *join);
......
...@@ -377,7 +377,6 @@ public: ...@@ -377,7 +377,6 @@ public:
int init_scan() { first_row= 1 ; return 0; } int init_scan() { first_row= 1 ; return 0; }
int next_row(); int next_row();
int end_scan() { return 0; } int end_scan() { return 0; }
int info(uint flag, ha_statistics *stats);
}; };
static group_by_handler * static group_by_handler *
...@@ -449,14 +448,6 @@ bool ha_seq_group_by_handler::init(TABLE *temporary_table, Item *having_arg, ...@@ -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() int ha_seq_group_by_handler::next_row()
{ {
List_iterator_fast<Item> it(*fields); 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