Skip to content

Commit

Permalink
增加配置日志。
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasy0v0 committed Nov 3, 2024
1 parent c433c57 commit 5bf4f6c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,12 +248,15 @@ private static PreparedStatement prepareStatement(Connection conn,
if (null != configuration) {
if (null != configuration.queryTimeout()) {
ps.setQueryTimeout(configuration.queryTimeout());
LogUtil.common().debug("setQueryTimeout: {}", configuration.queryTimeout());
}
if (null != configuration.maxFieldSize()) {
ps.setMaxFieldSize(configuration.maxFieldSize());
LogUtil.common().debug("setMaxFieldSize: {}", configuration.maxFieldSize());
}
if (null != configuration.maxRows()) {
ps.setMaxRows(configuration.maxRows());
LogUtil.common().debug("setMaxRows: {}", configuration.maxRows());
}
}
return ps;
Expand Down

0 comments on commit 5bf4f6c

Please sign in to comment.