Skip to content

Commit

Permalink
[hotfix] Fix the comment about dropping database in in-memory catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
KurtYoung committed Dec 4, 2019
1 parent 02a8c41 commit 6d677fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public void dropDatabase(String databaseName, boolean ignoreIfNotExists, boolean
if (isDatabaseEmpty(databaseName)) {
databases.remove(databaseName);
} else if (cascade) {
// delete all tables in this database and then delete the database.
// delete all tables and functions in this database and then delete the database.
List<ObjectPath> deleteTablePaths = tables.keySet().stream()
.filter(op -> op.getDatabaseName().equals(databaseName)).collect(Collectors.toList());
deleteTablePaths.forEach(objectPath -> {
Expand Down

0 comments on commit 6d677fb

Please sign in to comment.