Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaJunjie2020 committed Mar 2, 2022
2 parents 5dea563 + afd843f commit 2c9d147
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public Object PermissionsAround(ProceedingJoinPoint point) {
return point.proceed(point.getArgs());
} catch (Throwable throwable) {
LogUtil.error(throwable.getMessage(), throwable);
throw new RuntimeException(throwable);
throw new RuntimeException(throwable.getMessage());
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,8 @@ private String getViewSql(DatasourceRequest datasourceRequest) throws Exception
case mariadb:
case de_doris:
case ds_doris:
JdbcConfiguration jdbcConfiguration = new Gson().fromJson(datasourceRequest.getDatasource().getConfiguration(), JdbcConfiguration.class);
return String.format("SELECT TABLE_NAME,'' FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = '%s' ;", jdbcConfiguration.getDataBase());
case ck:
return null;
case sqlServer:
Expand Down

0 comments on commit 2c9d147

Please sign in to comment.