From e360554c6ddee43520a5ad15c00d1893d2e27f22 Mon Sep 17 00:00:00 2001 From: xiaoleizi2016 Date: Fri, 21 Oct 2022 15:10:26 +0800 Subject: [PATCH] fix annotation error 1019 --- src/obproxy/iocore/eventsystem/ob_ethread.cpp | 2 +- src/obproxy/proxy/client/ob_client_vc.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/obproxy/iocore/eventsystem/ob_ethread.cpp b/src/obproxy/iocore/eventsystem/ob_ethread.cpp index a71e6ff..fdfd88a 100644 --- a/src/obproxy/iocore/eventsystem/ob_ethread.cpp +++ b/src/obproxy/iocore/eventsystem/ob_ethread.cpp @@ -283,7 +283,7 @@ inline void ObEThread::process_event(ObEvent *e, const int calling_code) if (OB_UNLIKELY(e->in_the_priority_queue_)) { LOG_WARN("event should not in in_the_priority_queue here", K(*e)); } else if (OB_UNLIKELY(c_temp != e->continuation_)) { - LOG_WARN("event should not in in_the_priority_queue here", K(*e)); + LOG_WARN("c_temp should equal e->continuation_", K(*e)); } else {/*do nothing*/} MUTEX_RELEASE(lock); diff --git a/src/obproxy/proxy/client/ob_client_vc.cpp b/src/obproxy/proxy/client/ob_client_vc.cpp index 69c1f20..607e4ba 100644 --- a/src/obproxy/proxy/client/ob_client_vc.cpp +++ b/src/obproxy/proxy/client/ob_client_vc.cpp @@ -657,7 +657,7 @@ int ObMysqlClient::do_post_request() } case CLIENT_ACTION_READ_NORMAL_RESP: { if (OB_FAIL(setup_read_normal_resp())) { - LOG_WARN("fail to setup read handshake", K(ret)); + LOG_WARN("fail to setup read normal resp", K(ret)); } else if (OB_FAIL(schedule_active_timeout())) { LOG_WARN("fail to schedule_active_timeout", K(ret)); } else if (OB_FAIL(forward_mysql_request())) { -- GitLab