diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-10-02 18:40:38 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-10-05 17:14:15 +0200 |
commit | 21175bb31610cdfe7f25b981edc760e46aa08c43 (patch) | |
tree | a9ec787cc2feebf6e93e112468c693dec441e575 /sql/handler.h | |
parent | 8dff1aa5dc3335587b64ebf52ef2f8d5af2a0488 (diff) | |
download | mariadb-git-21175bb31610cdfe7f25b981edc760e46aa08c43.tar.gz |
Don't use flags in the group_by_handler class
instead pass the whole query down and let the engine return
unsupported parts back
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sql/handler.h b/sql/handler.h index fb5ce226a74..cfb6836f6d4 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -950,6 +950,7 @@ struct handler_iterator { class handler; class group_by_handler; +struct Query; typedef class st_select_lex SELECT_LEX; typedef struct st_order ORDER; @@ -1267,10 +1268,7 @@ struct handlerton The server guaranteeds that all tables in the list belong to this storage engine. */ - group_by_handler *(*create_group_by)(THD *thd, List<Item> *fields, - TABLE_LIST *table_list, ORDER *group_by, - ORDER *order_by, Item *where, - Item *having); + group_by_handler *(*create_group_by)(THD *thd, Query *query); /********************************************************************* Table discovery API. |