summaryrefslogtreecommitdiff
path: root/storage/sequence
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-10-02 10:19:34 +0200
committerSergei Golubchik <serg@mariadb.org>2015-10-05 17:14:15 +0200
commit9ca3d9ea9cc3518706dc8e0e0ac89a58c34dc260 (patch)
treeb2db032e7a7ee4b123804defb26b2fa8fcf5a5ea /storage/sequence
parente8daa41885b50094285f82f2a95e882b3dcab153 (diff)
downloadmariadb-git-9ca3d9ea9cc3518706dc8e0e0ac89a58c34dc260.tar.gz
remove unused method
Diffstat (limited to 'storage/sequence')
-rw-r--r--storage/sequence/sequence.cc9
1 files changed, 0 insertions, 9 deletions
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);