[Groonga-commit] groonga/groonga at d9cd12e [master] Write condition explicitly

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Feb 11 18:42:49 JST 2015


Kouhei Sutou	2015-02-11 18:42:49 +0900 (Wed, 11 Feb 2015)

  New Revision: d9cd12e0bfe4a2c9d181746adaef72804a43a14d
  https://github.com/groonga/groonga/commit/d9cd12e0bfe4a2c9d181746adaef72804a43a14d

  Message:
    Write condition explicitly

  Modified files:
    lib/expr.c

  Modified: lib/expr.c (+1 -1)
===================================================================
--- lib/expr.c    2015-02-11 18:41:43 +0900 (34bd4ba)
+++ lib/expr.c    2015-02-11 18:42:49 +0900 (12c24f9)
@@ -4881,7 +4881,7 @@ grn_table_select_index_range_accessor(grn_ctx *ctx, grn_obj *table,
         break;
       }
 
-      if (section) {
+      if (section > 0) {
         int j;
         int weight_position = section - 1;
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index