You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by ja...@apache.org on 2020/03/13 15:39:25 UTC

[incubator-brpc] branch master updated: Rename LOG_NONE which conflicts with a name in mysql

This is an automated email from the ASF dual-hosted git repository.

jamesge pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git


The following commit(s) were added to refs/heads/master by this push:
     new e3840c1  Rename LOG_NONE which conflicts with a name in mysql
e3840c1 is described below

commit e3840c18cdd9e1ff81f8280b96ac14869007a122
Author: jamesge <jg...@gmail.com>
AuthorDate: Fri Mar 13 23:39:01 2020 +0800

    Rename LOG_NONE which conflicts with a name in mysql
---
 src/butil/logging.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/butil/logging.h b/src/butil/logging.h
index 2b60483..f92cd78 100644
--- a/src/butil/logging.h
+++ b/src/butil/logging.h
@@ -212,7 +212,7 @@ typedef char PathChar;
 // Where to record logging output? A flat file and/or system debug log
 // via OutputDebugString.
 enum LoggingDestination {
-    LOG_NONE                = 0,
+    LOG_TO_NONE             = 0,
     LOG_TO_FILE             = 1 << 0,
     LOG_TO_SYSTEM_DEBUG_LOG = 1 << 1,
 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org