mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
user clearDefines optimize Oracle PrepareStatement Cache memoery use
This commit is contained in:
@@ -1279,8 +1279,8 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
|
||||
if (entryIndex++ != 0) {
|
||||
buf.append(",");
|
||||
}
|
||||
buf.append("\n\t\t{reuseCount:");
|
||||
buf.append(entry.getValue().getReusedCount());
|
||||
buf.append("\n\t\t{hitCount:");
|
||||
buf.append(entry.getValue().getHitCount());
|
||||
buf.append(",sql:\"");
|
||||
buf.append(entry.getKey().getSql());
|
||||
buf.append("\"");
|
||||
|
||||
Reference in New Issue
Block a user