This is an automated email from the ASF dual-hosted git repository.

yangzhg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new e547e77  Fix variable dbName that is never used (#6802)
e547e77 is described below

commit e547e77f860c63879703959567ac38cc1f58b09c
Author: Wei <[email protected]>
AuthorDate: Wed Oct 13 11:37:58 2021 +0800

    Fix variable dbName that is never used (#6802)
    
    Co-authored-by: wei.zhang2 <[email protected]>
---
 fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java 
b/fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java
index e806fea..432d126 100755
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java
@@ -3017,7 +3017,7 @@ public class Catalog {
         String tableName = stmt.getTableName();
 
         // check if db exists
-        Database db = this.getDbOrDdlException(stmt.getDbName());
+        Database db = this.getDbOrDdlException(dbName);
 
         // only internal table should check quota and cluster capacity
         if (!stmt.isExternal()) {

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to