mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
console
This commit is contained in:
@@ -589,10 +589,13 @@ public class DruidPooledConnection implements javax.sql.PooledConnection, Connec
|
||||
conn.setAutoCommit(autoCommit);
|
||||
holder.setUnderlyingAutoCommit(autoCommit);
|
||||
} catch (SQLException ex) {
|
||||
if ((!autoCommit) && holder.isUnderlyingAutoCommit()) {
|
||||
|
||||
}
|
||||
handleException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected void transactionRecord(String sql) throws SQLException {
|
||||
if (transactionInfo == null && (!conn.getAutoCommit())) {
|
||||
DruidAbstractDataSource dataSource = holder.getDataSource();
|
||||
|
||||
Reference in New Issue
Block a user