Modify incorrect comments in ShowExecutor (#9232)

Fixed some incorrect comments in ShowExecutor
This commit is contained in:
mklzl
2022-04-26 19:10:49 +08:00
committed by GitHub
parent 7076ba40ed
commit b406684486

View File

@ -351,7 +351,7 @@ public class ShowExecutor {
resultSet = new ShowResultSet(showRollupStmt.getMetaData(), rowSets);
}
// Handle show authors
// Handle show processlist
private void handleShowProcesslist() {
ShowProcesslistStmt showStmt = (ShowProcesslistStmt) stmt;
List<List<String>> rowSet = Lists.newArrayList();
@ -530,7 +530,7 @@ public class ShowExecutor {
resultSet = new ShowResultSet(showStmt.getMetaData(), rows);
}
// Show clusters
// Show migrations
private void handleShowMigrations() throws AnalysisException {
final ShowMigrationsStmt showStmt = (ShowMigrationsStmt) stmt;
final List<List<String>> rows = Lists.newArrayList();