[Groonga-commit] groonga/groonga at 4e1c74e [master] dump: flush buffer each table and pending columns

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Apr 4 22:37:56 JST 2015


Kouhei Sutou	2015-04-04 22:37:56 +0900 (Sat, 04 Apr 2015)

  New Revision: 4e1c74e603a891c77255c0592865c5e53d7c41ef
  https://github.com/groonga/groonga/commit/4e1c74e603a891c77255c0592865c5e53d7c41ef

  Message:
    dump: flush buffer each table and pending columns

  Modified files:
    lib/proc.c

  Modified: lib/proc.c (+2 -0)
===================================================================
--- lib/proc.c    2015-04-04 22:37:26 +0900 (f3b51f3)
+++ lib/proc.c    2015-04-04 22:37:56 +0900 (acf01b9)
@@ -3144,6 +3144,7 @@ dump_table(grn_ctx *ctx, grn_obj *outbuf, grn_obj *table,
 
   if (GRN_TEXT_LEN(outbuf) > 0) {
     GRN_TEXT_PUTC(ctx, outbuf, '\n');
+    grn_ctx_output_flush(ctx, 0);
   }
 
   GRN_TEXT_PUTS(ctx, outbuf, "table_create ");
@@ -3224,6 +3225,7 @@ dump_pending_columns(grn_ctx *ctx, grn_obj *outbuf, grn_obj *pending_columns)
 
   if (GRN_TEXT_LEN(outbuf) > 0) {
     GRN_TEXT_PUTC(ctx, outbuf, '\n');
+    grn_ctx_output_flush(ctx, 0);
   }
 
   for (i = 0; i < n_columns; i++) {
-------------- next part --------------
HTML����������������������������...
Download 



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