Skip to content

Commit

Permalink
Remove code for Groonga < 5.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 25, 2017
1 parent d2b544e commit 33ce669
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ext/groonga/rb-grn-table.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 33ce669

Please sign in to comment.