You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2024/09/10 07:37:39 UTC
(doris) branch audit_log created (now 0ead57a060c)
This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a change to branch audit_log
in repository https://gitbox.apache.org/repos/asf/doris.git
at 0ead57a060c [chore](audit) let line comment work well
This branch includes the following new commits:
new 0ead57a060c [chore](audit) let line comment work well
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
(doris) 01/01: [chore](audit) let line comment work well
Posted by mo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch audit_log
in repository https://gitbox.apache.org/repos/asf/doris.git
commit 0ead57a060ccf03a6106524d926d63ed18f60318
Author: morrySnow <mo...@126.com>
AuthorDate: Tue Sep 10 15:37:12 2024 +0800
[chore](audit) let line comment work well
---
fe/fe-core/src/main/java/org/apache/doris/qe/AuditLogHelper.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/AuditLogHelper.java b/fe/fe-core/src/main/java/org/apache/doris/qe/AuditLogHelper.java
index f88133e23a6..508fcc0f33a 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/AuditLogHelper.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/AuditLogHelper.java
@@ -54,7 +54,7 @@ public class AuditLogHelper {
private static void logAuditLogImpl(ConnectContext ctx, String origStmt, StatementBase parsedStmt,
org.apache.doris.proto.Data.PQueryStatistics statistics, boolean printFuzzyVariables) {
- origStmt = origStmt.replace("\n", " ");
+ origStmt = origStmt.replace("\n", "\\n");
// slow query
long endTime = System.currentTimeMillis();
long elapseMs = endTime - ctx.getStartTime();
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org