未验证 提交 2e57906d 编写于 作者: R richie 提交者: GitHub

Update ob_log_plan.cpp (#672)

上级 93676a18
...@@ -305,7 +305,7 @@ int64_t ObLogPlan::to_string(char* buf, const int64_t buf_len, ExplainType type) ...@@ -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(NEW_LINE))) { /* Do nothing */
} else if (OB_FAIL(BUF_PRINTF("-------------------------------------\n"))) { /* Do nothing */ } else if (OB_FAIL(BUF_PRINTF("-------------------------------------\n"))) { /* Do nothing */
} else if (OB_FAIL(print_outline(plan))) { } 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 { } else {
ret = BUF_PRINTF(NEW_LINE); ret = BUF_PRINTF(NEW_LINE);
} }
...@@ -320,7 +320,7 @@ int64_t ObLogPlan::to_string(char* buf, const int64_t buf_len, ExplainType type) ...@@ -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(NEW_LINE))) { /* Do nothing */
} else if (OB_FAIL(BUF_PRINTF("-------------------------------------\n"))) { /* Do nothing */ } else if (OB_FAIL(BUF_PRINTF("-------------------------------------\n"))) { /* Do nothing */
} else if (OB_FAIL(print_outline(plan))) { } 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 { } else {
ret = BUF_PRINTF(NEW_LINE); ret = BUF_PRINTF(NEW_LINE);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册