Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
1、 支持多数据源
2、统一关闭connection连接
3、支持elasticSearch-sql
4、解决子查询、join 主表和附表使用相同数据源
5、相关小bug修复
  • Loading branch information
cloudAndMonkey authored Dec 11, 2022
1 parent d9c7473 commit 4af6322
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4660,7 +4660,7 @@ public static <T extends Object> SQLConfig newSQLConfig(RequestMethod method, St

boolean explain = request.getBooleanValue(KEY_EXPLAIN);
if (explain && Log.DEBUG == false) { //不在 config.setExplain 抛异常,一方面处理更早性能更好,另一方面为了内部调用可以绕过这个限制
throw new UnsupportedOperationException("INFO 模式下不允许传 " + KEY_EXPLAIN + " !");
throw new UnsupportedOperationException("非DEBUG模式, 不允许传 " + KEY_EXPLAIN + " !");
}

String database = request.getString(KEY_DATABASE);
Expand Down

0 comments on commit 4af6322

Please sign in to comment.