[Groonga-commit] groonga/groonga at 40e9460 [master] Don't perform a sequential search if an index is available

Zurück zum Archiv-Index

Susumu Yata null+****@clear*****
Thu Jul 7 13:22:45 JST 2016


Susumu Yata	2016-07-07 13:22:45 +0900 (Thu, 07 Jul 2016)

  New Revision: 40e9460eea605098d67e5b9e6c8f5b4233575000
  https://github.com/groonga/groonga/commit/40e9460eea605098d67e5b9e6c8f5b4233575000

  Message:
    Don't perform a sequential search if an index is available
    
    GitHub: fix #580

  Modified files:
    lib/expr.c

  Modified: lib/expr.c (+1 -1)
===================================================================
--- lib/expr.c    2016-07-07 11:20:10 +0900 (4850af0)
+++ lib/expr.c    2016-07-07 13:22:45 +0900 (01c2ce2)
@@ -6217,9 +6217,9 @@ grn_table_select_index_range_column(grn_ctx *ctx, grn_obj *table,
             grn_ii_posting_add(ctx, &new_posting, (grn_hash *)res, logical_op);
           }
         }
-        processed = GRN_TRUE;
         grn_ii_cursor_close(ctx, ii_cursor);
       }
+      processed = GRN_TRUE;
       grn_table_cursor_close(ctx, cursor);
     }
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index