Kouhei Sutou
null+****@clear*****
Tue Apr 14 10:27:07 JST 2015
Kouhei Sutou 2015-04-14 10:27:07 +0900 (Tue, 14 Apr 2015) New Revision: 52620248cdd35848b0de2631d3ef4878d61526b1 https://github.com/mroonga/mroonga/commit/52620248cdd35848b0de2631d3ef4878d61526b1 Message: Use one line for "for condition" Modified files: ha_mroonga.cpp Modified: ha_mroonga.cpp (+2 -1) =================================================================== --- ha_mroonga.cpp 2015-04-13 23:53:17 +0900 (1eff0bd) +++ ha_mroonga.cpp 2015-04-14 10:27:07 +0900 (464313d) @@ -9492,7 +9492,8 @@ void ha_mroonga::check_fast_order_limit(grn_table_sort_key **sort_keys, ORDER *order; int i; mrn_change_encoding(ctx, system_charset_info); - for (order = (ORDER *) select_lex->order_list.first, i = 0; order; + for (order = (ORDER *) select_lex->order_list.first, i = 0; + order; order = order->next, i++) { Item *item = *order->item; if (grn_columns && item->type() == Item::FIELD_ITEM) -------------- next part -------------- HTML����������������������������...Download