[Groonga-commit] groonga/groonga at fdc5806 [master] dump: clear error to dump available data as much as possible

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Aug 29 16:31:54 JST 2016


Kouhei Sutou	2016-08-29 16:31:54 +0900 (Mon, 29 Aug 2016)

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

  Message:
    dump: clear error to dump available data as much as possible

  Modified files:
    lib/proc/proc_dump.c

  Modified: lib/proc/proc_dump.c (+3 -0)
===================================================================
--- lib/proc/proc_dump.c    2016-08-29 16:10:00 +0900 (41b11d3)
+++ lib/proc/proc_dump.c    2016-08-29 16:31:54 +0900 (2cd19cb)
@@ -96,6 +96,7 @@ dumper_collect_statistics(grn_ctx *ctx, grn_dumper *dumper)
 
       column = grn_ctx_at(ctx, column_id);
       if (!column) {
+        GRN_PLUGIN_CLEAR_ERROR(ctx);
         continue;
       }
 
@@ -353,6 +354,7 @@ dump_columns(grn_ctx *ctx, grn_dumper *dumper, grn_obj *table,
 
       column = grn_ctx_at(ctx, column_id);
       if (!column) {
+        GRN_PLUGIN_CLEAR_ERROR(ctx);
         continue;
       }
 
@@ -475,6 +477,7 @@ dump_records(grn_ctx *ctx, grn_dumper *dumper, grn_obj *table)
 
       column = grn_ctx_at(ctx, column_id);
       if (!column) {
+        GRN_PLUGIN_CLEAR_ERROR(ctx);
         continue;
       }
 
-------------- next part --------------
HTML����������������������������...
Download 



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