Skip to content

Commit

Permalink
Merge pull request alibaba#578 from wenshao/master
Browse files Browse the repository at this point in the history
compatible for early versions
  • Loading branch information
wenshao committed Jul 5, 2014
2 parents 9342048 + 71f99b1 commit 4f5abb7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/com/alibaba/druid/pool/DruidDataSource.java
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,12 @@ public void configFromPropety(Properties properties) {
this.setUseGlobalDataSourceStat(value);
}
}
{
Boolean value = getBoolean(properties, "druid.useGloalDataSourceStat"); // compatible for early versions
if (value != null) {
this.setUseGlobalDataSourceStat(value);
}
}
{
String property = properties.getProperty("druid.filters");

Expand Down

0 comments on commit 4f5abb7

Please sign in to comment.