[Groonga-commit] groonga/groonga at 2b80257 [master] dump: add missing error clear on dumping column

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Oct 18 18:24:22 JST 2016


Kouhei Sutou	2016-10-18 18:24:22 +0900 (Tue, 18 Oct 2016)

  New Revision: 2b80257e361ac49c513dac221ad0044eae899cd5
  https://github.com/groonga/groonga/commit/2b80257e361ac49c513dac221ad0044eae899cd5

  Message:
    dump: add missing error clear on dumping column

  Modified files:
    lib/proc/proc_dump.c

  Modified: lib/proc/proc_dump.c (+3 -0)
===================================================================
--- lib/proc/proc_dump.c    2016-10-18 18:19:45 +0900 (27b656d)
+++ lib/proc/proc_dump.c    2016-10-18 18:24:22 +0900 (92b77cf)
@@ -363,14 +363,17 @@ dump_columns(grn_ctx *ctx, grn_dumper *dumper, grn_obj *table,
       if (grn_obj_is_index_column(ctx, column)) {
         if (dump_index_column) {
           dump_column(ctx, dumper, table, column);
+          GRN_PLUGIN_CLEAR_ERROR(ctx);
         }
       } else if (grn_obj_is_reference_column(ctx, column)) {
         if (dump_reference_column) {
           dump_column(ctx, dumper, table, column);
+          GRN_PLUGIN_CLEAR_ERROR(ctx);
         }
       } else {
         if (dump_data_column) {
           dump_column(ctx, dumper, table, column);
+          GRN_PLUGIN_CLEAR_ERROR(ctx);
         }
       }
 
-------------- next part --------------
HTML����������������������������...
Download 



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