From 2e57906d8f48f3ed5722c5acf953a58ca271db04 Mon Sep 17 00:00:00 2001 From: richie Date: Mon, 6 Dec 2021 13:21:20 +0800 Subject: [PATCH] Update ob_log_plan.cpp (#672) --- src/sql/optimizer/ob_log_plan.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sql/optimizer/ob_log_plan.cpp b/src/sql/optimizer/ob_log_plan.cpp index e653502b7c..00670be5da 100644 --- a/src/sql/optimizer/ob_log_plan.cpp +++ b/src/sql/optimizer/ob_log_plan.cpp @@ -305,7 +305,7 @@ int64_t ObLogPlan::to_string(char* buf, const int64_t buf_len, ExplainType type) } else if (OB_FAIL(BUF_PRINTF(NEW_LINE))) { /* Do nothing */ } else if (OB_FAIL(BUF_PRINTF("-------------------------------------\n"))) { /* Do nothing */ } else if (OB_FAIL(print_outline(plan))) { - databuff_printf(buf, buf_len, pos, "WARN failed to print outlien, ret=%d", ret); + databuff_printf(buf, buf_len, pos, "WARN failed to print outline, ret=%d", ret); } else { ret = BUF_PRINTF(NEW_LINE); } @@ -320,7 +320,7 @@ int64_t ObLogPlan::to_string(char* buf, const int64_t buf_len, ExplainType type) } else if (OB_FAIL(BUF_PRINTF(NEW_LINE))) { /* Do nothing */ } else if (OB_FAIL(BUF_PRINTF("-------------------------------------\n"))) { /* Do nothing */ } else if (OB_FAIL(print_outline(plan))) { - databuff_printf(buf, buf_len, pos, "WARN failed to print outlien, ret=%d", ret); + databuff_printf(buf, buf_len, pos, "WARN failed to print outline, ret=%d", ret); } else { ret = BUF_PRINTF(NEW_LINE); } -- GitLab