Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
FANNG1 committed Jul 24, 2024
1 parent 0005f70 commit 0cbd9f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private void purgeTable(String namespace, String table) {

private void purgeNameSpace(String namespace) {
Set<String> tables = convertToStringSet(sql("SHOW TABLES IN " + namespace), 1);
tables.stream().forEach(table -> purgeTable(namespace, table));
tables.forEach(table -> purgeTable(namespace, table));
sql("DROP database " + namespace);
}

Expand Down

0 comments on commit 0cbd9f1

Please sign in to comment.