Navigation Menu

Skip to content

Commit

Permalink
mysql57: use wrapper macro to get SELECT_LEX::having
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Mar 17, 2015
1 parent 5f9cd89 commit 387e367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cpp
Expand Up @@ -9377,7 +9377,7 @@ void ha_mroonga::check_fast_order_limit(grn_table_sort_key **sort_keys,
thd_sql_command(ha_thd()) == SQLCOM_SELECT &&
!select_lex->with_sum_func &&
!select_lex->group_list.elements &&
!select_lex->having &&
!MRN_SELECT_LEX_GET_HAVING_COND(select_lex) &&
select_lex->table_list.elements == 1 &&
select_lex->order_list.elements &&
select_lex->explicit_limit &&
Expand Down

0 comments on commit 387e367

Please sign in to comment.