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 183ca1f60ba [fix](compatibility) remove cluster prefix in user
property info (#30078)
183ca1f60ba is described below
commit 183ca1f60ba311a943c945ca730b2624746c3a40
Author: Mingyu Chen <[email protected]>
AuthorDate: Thu Jan 18 08:54:22 2024 +0800
[fix](compatibility) remove cluster prefix in user property info (#30078)
---
.../main/java/org/apache/doris/mysql/privilege/UserPropertyInfo.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/mysql/privilege/UserPropertyInfo.java
b/fe/fe-core/src/main/java/org/apache/doris/mysql/privilege/UserPropertyInfo.java
index 647ac40fcef..e7ee4517483 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/mysql/privilege/UserPropertyInfo.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/mysql/privilege/UserPropertyInfo.java
@@ -17,6 +17,7 @@
package org.apache.doris.mysql.privilege;
+import org.apache.doris.cluster.ClusterNamespace;
import org.apache.doris.common.Pair;
import org.apache.doris.common.io.Text;
import org.apache.doris.common.io.Writable;
@@ -67,7 +68,7 @@ public class UserPropertyInfo implements Writable {
}
public void readFields(DataInput in) throws IOException {
- user = Text.readString(in);
+ user = ClusterNamespace.getNameFromFullName(Text.readString(in));
int size = in.readInt();
for (int i = 0; i < size; i++) {
String key = Text.readString(in);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]