[Groonga-commit] groonga/groonga at 1e668ff [master] Use more meaningful result code

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Jun 22 10:26:21 JST 2017


Kouhei Sutou	2017-06-22 10:26:21 +0900 (Thu, 22 Jun 2017)

  New Revision: 1e668ff868be5d56e01e0c2970e716464bb0715e
  https://github.com/groonga/groonga/commit/1e668ff868be5d56e01e0c2970e716464bb0715e

  Message:
    Use more meaningful result code

  Modified files:
    lib/geo.c

  Modified: lib/geo.c (+1 -1)
===================================================================
--- lib/geo.c    2017-06-22 10:22:03 +0900 (a8d6475)
+++ lib/geo.c    2017-06-22 10:26:21 +0900 (629a5e2)
@@ -725,7 +725,7 @@ grn_geo_table_sort(grn_ctx *ctx, grn_obj *table, int offset, int limit,
                                             index->header.domain,
                                             lexicon_name,
                                             GRN_TABLE_MAX_KEY_SIZE);
-      ERR(GRN_INVALID_ARGUMENT,
+      ERR(GRN_OBJECT_CORRUPT,
           "[sort][geo] lexicon is broken: <%.*s>: <%.*s>(%d)",
           index_name_size, index_name,
           lexicon_name_size, lexicon_name,
-------------- next part --------------
HTML����������������������������...
下載 



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