[Groonga-commit] groonga/groonga [master] Use "text/x-groonga-command-list" as MIME-type for dump command result

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Sun Aug 12 13:36:06 JST 2012


Kouhei Sutou	2012-08-12 13:36:06 +0900 (Sun, 12 Aug 2012)

  New Revision: 555e8fd2c180b04bb673ae8879e0d32492fea82d
  https://github.com/groonga/groonga/commit/555e8fd2c180b04bb673ae8879e0d32492fea82d

  Log:
    Use "text/x-groonga-command-list" as MIME-type for dump command result

  Modified files:
    lib/proc.c

  Modified: lib/proc.c (+1 -0)
===================================================================
--- lib/proc.c    2012-08-12 13:35:43 +0900 (a7a95f5)
+++ lib/proc.c    2012-08-12 13:36:06 +0900 (e4b09b4)
@@ -2471,6 +2471,7 @@ proc_dump(grn_ctx *ctx, int nargs, grn_obj **args, grn_user_data *user_data)
 {
   grn_obj *outbuf = ctx->impl->outbuf;
   ctx->impl->output_type = GRN_CONTENT_NONE;
+  ctx->impl->mime_type = "text/x-groonga-command-list";
   dump_schema(ctx, outbuf);
   /* To update index columns correctly, we first create the whole schema, then
      load non-derivative records, while skipping records of index columns. That
-------------- next part --------------
HTML����������������������������...
Download 



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