[Groonga-commit] groonga/groonga at 53927b3 [master] Stop to return wrong range information for proc

Back to archive index

Kouhei Sutou null+****@clear*****
Thu May 5 16:05:11 JST 2016


Kouhei Sutou	2016-05-05 16:05:11 +0900 (Thu, 05 May 2016)

  New Revision: 53927b3bd1d394d5c135d7c7d7936121160126e8
  https://github.com/groonga/groonga/commit/53927b3bd1d394d5c135d7c7d7936121160126e8

  Message:
    Stop to return wrong range information for proc

  Modified files:
    lib/db.c

  Modified: lib/db.c (+4 -1)
===================================================================
--- lib/db.c    2016-05-05 12:17:47 +0900 (cd0e4ef)
+++ lib/db.c    2016-05-05 16:05:11 +0900 (500f7d3)
@@ -5742,7 +5742,10 @@ inline static void
 grn_obj_get_range_info(grn_ctx *ctx, grn_obj *obj,
                        grn_id *range_id, grn_obj_flags *range_flags)
 {
-  if (GRN_DB_OBJP(obj)) {
+  if (grn_obj_is_proc(ctx, obj)) {
+    /* TODO */
+    *range_id = GRN_ID_NIL;
+  } else if (GRN_DB_OBJP(obj)) {
     *range_id = DB_OBJ(obj)->range;
     if (grn_column_is_vector(ctx, obj)) {
       *range_flags = GRN_OBJ_VECTOR;
-------------- next part --------------
HTML����������������������������...
Download 



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