mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-30 04:54:25 +08:00
Compare commits
1 Commits
d4a77b045d
...
e3dacc6172
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e3dacc6172 |
@@ -282,7 +282,6 @@ public class DatabaseServiceImpl extends ServiceImpl<DatabaseDOMapper, DatabaseD
|
|||||||
public List<DBColumn> getColumns(Long id, String catalog, String db, String table)
|
public List<DBColumn> getColumns(Long id, String catalog, String db, String table)
|
||||||
throws SQLException {
|
throws SQLException {
|
||||||
DatabaseResp databaseResp = getDatabase(id);
|
DatabaseResp databaseResp = getDatabase(id);
|
||||||
catalog = StringUtils.isEmpty(catalog) ? db : catalog;
|
|
||||||
return getColumns(databaseResp, catalog, db, table);
|
return getColumns(databaseResp, catalog, db, table);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user