[Groonga-commit] ranguba/rroonga at 33ce669 [master] Remove code for Groonga < 5.1.0

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Tue Apr 25 16:01:42 JST 2017


Kouhei Sutou	2017-04-25 16:01:42 +0900 (Tue, 25 Apr 2017)

  New Revision: 33ce669899aabb2a7eb94820edee3ba51e671038
  https://github.com/ranguba/rroonga/commit/33ce669899aabb2a7eb94820edee3ba51e671038

  Message:
    Remove code for Groonga < 5.1.0

  Modified files:
    ext/groonga/rb-grn-table.c

  Modified: ext/groonga/rb-grn-table.c (+0 -3)
===================================================================
--- ext/groonga/rb-grn-table.c    2017-04-25 15:59:12 +0900 (e2ac16d)
+++ ext/groonga/rb-grn-table.c    2017-04-25 16:01:42 +0900 (0325c74)
@@ -1377,9 +1377,6 @@ rb_grn_table_geo_sort (int argc, VALUE *argv, VALUE self)
         offset = NUM2INT(rb_offset);
     if (!NIL_P(rb_limit))
         limit = NUM2INT(rb_limit);
-    /* TODO: Remove me when Groonga 5.1.0 is released. */
-    if (limit < 0)
-        limit = grn_table_size(context, table) + limit + 1;
 
     result = grn_table_create(context, NULL, 0, NULL, GRN_TABLE_NO_KEY,
                               NULL, table);
-------------- next part --------------
HTML����������������������������...
Download 



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