Skip to content

Commit 9ca3d9e

Browse files
committed
remove unused method
1 parent e8daa41 commit 9ca3d9e

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

sql/group_by_handler.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,6 @@ class group_by_handler
118118
/* End scanning */
119119
virtual int end_scan()=0;
120120

121-
/* Information for optimizer (used by EXPLAIN) */
122-
virtual int info(uint flag, ha_statistics *stats)= 0;
123-
124121
/* Function that calls the above scan functions */
125122
int execute(JOIN *join);
126123

storage/sequence/sequence.cc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,6 @@ class ha_seq_group_by_handler: public group_by_handler
377377
int init_scan() { first_row= 1 ; return 0; }
378378
int next_row();
379379
int end_scan() { return 0; }
380-
int info(uint flag, ha_statistics *stats);
381380
};
382381

383382
static group_by_handler *
@@ -449,14 +448,6 @@ bool ha_seq_group_by_handler::init(TABLE *temporary_table, Item *having_arg,
449448
}
450449

451450

452-
int ha_seq_group_by_handler::info(uint flag, ha_statistics *stats)
453-
{
454-
bzero(stats, sizeof(*stats));
455-
/* We only return one records for a SUM(*) without a group by */
456-
stats->records= 1;
457-
return 0;
458-
}
459-
460451
int ha_seq_group_by_handler::next_row()
461452
{
462453
List_iterator_fast<Item> it(*fields);

0 commit comments

Comments
 (0)