This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 6a3385437b [fix](comments) modify comments of setting global variables
#12514
6a3385437b is described below
commit 6a3385437b4658c1cd1bd1a8bac209ce58d2b159
Author: Henry2SS <[email protected]>
AuthorDate: Tue Sep 13 19:13:57 2022 +0800
[fix](comments) modify comments of setting global variables #12514
Co-authored-by: wuhangze <[email protected]>
---
fe/fe-core/src/main/java/org/apache/doris/qe/VariableMgr.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/VariableMgr.java
b/fe/fe-core/src/main/java/org/apache/doris/qe/VariableMgr.java
index 7efbf0c7a1..d6c224e68c 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/VariableMgr.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/VariableMgr.java
@@ -269,8 +269,7 @@ public class VariableMgr {
}
private static void setGlobalVarAndWriteEditLog(VarContext ctx, String
name, String value) throws DdlException {
- // set global variable should not affect variables of current session.
- // global variable will only make effect when connecting in.
+ // global variable will make effect when is set immediately.
wlock.lock();
try {
setValue(ctx.getObj(), ctx.getField(), value);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]