[Groonga-commit] groonga/groonga [master] Remove needless #ifdef WITH_MESSAGE_PACK

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Oct 15 14:15:31 JST 2012


Kouhei Sutou	2012-10-15 14:15:31 +0900 (Mon, 15 Oct 2012)

  New Revision: c45abb00cfcfbd77a152a101a3d279b22e99caa8
  https://github.com/groonga/groonga/commit/c45abb00cfcfbd77a152a101a3d279b22e99caa8

  Log:
    Remove needless #ifdef WITH_MESSAGE_PACK

  Modified files:
    lib/output.c

  Modified: lib/output.c (+0 -2)
===================================================================
--- lib/output.c    2012-10-15 14:10:33 +0900 (d5beb08)
+++ lib/output.c    2012-10-15 14:15:31 +0900 (f70aff3)
@@ -968,13 +968,11 @@ grn_output_table(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type,
                                                  GRN_CURSOR_ASCENDING);
     int resultset_size = -1;
     if (!tc) { ERRCLR(ctx); }
-#ifdef WITH_MESSAGE_PACK
     resultset_size = 1; /* [NHITS, (COLUMNS), (HITS)] */
     if (format->flags & GRN_OBJ_FORMAT_WITH_COLUMN_NAMES) {
       resultset_size++;
     }
     resultset_size += format->limit;
-#endif
     grn_output_array_open(ctx, outbuf, output_type, "RESULTSET", resultset_size);
     grn_output_array_open(ctx, outbuf, output_type, "NHITS", 1);
     if (output_type == GRN_CONTENT_XML) {
-------------- next part --------------
HTML����������������������������...
Download 



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