dataroaring commented on code in PR #19621: URL: https://github.com/apache/doris/pull/19621#discussion_r1216058163
########## fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java: ########## @@ -807,67 +807,70 @@ public void replayRenameDatabase(String dbName, String newDbName) { // Drop table public void dropTable(DropTableStmt stmt) throws DdlException { - String dbName = stmt.getDbName(); - String tableName = stmt.getTableName(); + for (TableName tbl : stmt.getTableNames()) { + String dbName = tbl.getDb(); + String tableName = tbl.getTbl(); Review Comment: We'd better check before dropping and dropping multi tables in a transaction if possible. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org