[Groonga-commit] groonga/groonga at 43ef58c [master] Fix a bug that "column[key].name" reports an error

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Feb 6 17:34:49 JST 2016


Kouhei Sutou	2016-02-06 17:34:49 +0900 (Sat, 06 Feb 2016)

  New Revision: 43ef58c8e51618ac885ece26875d677c03da5739
  https://github.com/groonga/groonga/commit/43ef58c8e51618ac885ece26875d677c03da5739

  Message:
    Fix a bug that "column[key].name" reports an error

  Modified files:
    lib/expr.c

  Modified: lib/expr.c (+1 -1)
===================================================================
--- lib/expr.c    2016-02-06 13:55:36 +0900 (9ce1963)
+++ lib/expr.c    2016-02-06 17:34:49 +0900 (47c6305)
@@ -4559,7 +4559,7 @@ grn_scan_info_build(grn_ctx *ctx, grn_obj *expr, int *n,
       case SCAN_CONST :
         {
           grn_expr_code *prev_c = c - 1;
-          if (prev_c->value->header.domain < GRN_DB_INT8 &&
+          if (prev_c->value->header.domain < GRN_DB_INT8 ||
               prev_c->value->header.domain > GRN_DB_UINT64) {
             return NULL;
           }
-------------- next part --------------
HTML����������������������������...
Download 



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