You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2019/03/17 04:37:20 UTC
[GitHub] [incubator-doris] kangkaisen commented on a change in pull request
#761: Remove colocate table meta when drop db
kangkaisen commented on a change in pull request #761: Remove colocate table meta when drop db
URL: https://github.com/apache/incubator-doris/pull/761#discussion_r266224072
##########
File path: fe/src/main/java/org/apache/doris/catalog/Catalog.java
##########
@@ -2359,7 +2359,7 @@ public void createDb(CreateDbStmt stmt) throws DdlException {
Database db = new Database(id, fullDbName);
db.setClusterName(clusterName);
unprotectCreateDb(db);
- editLog.logCreateDb(db);
+ Catalog.getInstance().getEditLog().logCreateDb(db);
Review comment:
It's order to make the test for `catalog.createDb` and `catalog.dropDb` write easily.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org