diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-10-02 10:19:34 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-10-05 17:14:15 +0200 |
commit | 9ca3d9ea9cc3518706dc8e0e0ac89a58c34dc260 (patch) | |
tree | b2db032e7a7ee4b123804defb26b2fa8fcf5a5ea | |
parent | e8daa41885b50094285f82f2a95e882b3dcab153 (diff) | |
download | mariadb-git-9ca3d9ea9cc3518706dc8e0e0ac89a58c34dc260.tar.gz |
remove unused method
-rw-r--r-- | sql/group_by_handler.h | 3 | ||||
-rw-r--r-- | storage/sequence/sequence.cc | 9 |
2 files changed, 0 insertions, 12 deletions
diff --git a/sql/group_by_handler.h b/sql/group_by_handler.h index e2d7c7396e0..2187ee0848e 100644 --- a/sql/group_by_handler.h +++ b/sql/group_by_handler.h @@ -118,9 +118,6 @@ public: /* 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); diff --git a/storage/sequence/sequence.cc b/storage/sequence/sequence.cc index f11aee6bddc..ba8e157c3e4 100644 --- a/storage/sequence/sequence.cc +++ b/storage/sequence/sequence.cc @@ -377,7 +377,6 @@ public: 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); |