[Groonga-commit] groonga/groonga at 8519b62 [master] Ensure clearing error message in ERRCLR

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Feb 3 16:49:35 JST 2017


Kouhei Sutou	2017-02-03 16:49:35 +0900 (Fri, 03 Feb 2017)

  New Revision: 8519b620c85eb60aca935251779315e2d40c0e9e
  https://github.com/groonga/groonga/commit/8519b620c85eb60aca935251779315e2d40c0e9e

  Message:
    Ensure clearing error message in ERRCLR

  Modified files:
    lib/grn_ctx.h

  Modified: lib/grn_ctx.h (+1 -0)
===================================================================
--- lib/grn_ctx.h    2017-02-03 16:39:15 +0900 (604fd98)
+++ lib/grn_ctx.h    2017-02-03 16:49:35 +0900 (51eebaf)
@@ -80,6 +80,7 @@ extern "C" {
     ((grn_ctx *)ctx)->errlvl = GRN_OK;\
     if (((grn_ctx *)ctx)->rc != GRN_CANCEL) {\
       ((grn_ctx *)ctx)->rc = GRN_SUCCESS;\
+      ((grn_ctx *)ctx)->errbuf[0] = '\0';\
     }\
   }\
   errno = 0;\
-------------- next part --------------
HTML����������������������������...
Descargar 



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