mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fix update limit bug for MYSQL
This commit is contained in:
@@ -38,13 +38,9 @@ public class StatementProxyImpl extends WrapperProxyImpl implements StatementPro
|
||||
private final ConnectionProxy connection;
|
||||
private final Statement statement;
|
||||
|
||||
// 通过CounterEventListener来维护
|
||||
protected long lastExecuteStartTime;
|
||||
protected long lastExecuteStartNano;
|
||||
protected long lastExecuteCompleteTime;
|
||||
protected long lastExecuteCompleteNano;
|
||||
protected String lastExecuteSql;
|
||||
protected JdbcSqlStat sqlStat;
|
||||
private long lastExecuteTimeNano;
|
||||
protected JdbcSqlStat sqlStat;
|
||||
|
||||
protected ArrayList<String> batchSqlList;
|
||||
|
||||
@@ -341,4 +337,11 @@ public class StatementProxyImpl extends WrapperProxyImpl implements StatementPro
|
||||
this.sqlStat = sqlStat;
|
||||
}
|
||||
|
||||
public long getLastExecuteTimeNano() {
|
||||
return lastExecuteTimeNano;
|
||||
}
|
||||
|
||||
public void setLastExecuteTimeNano(long lastExecuteTimeNano) {
|
||||
this.lastExecuteTimeNano = lastExecuteTimeNano;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user