druid发布0.2.1版,增加sql统计的merge功能。

1.增加sql统计的merge功能。

        当配置druid.filters.mergeStat=com.alibaba.druid.filter.stat.MergeStatFilter属性时,可以自动把:

        SELECT * FROM t FROM id = 1;

        SELECT * FROM t FROM id = 2;

        参数化为 select * from t where id = ?然后作为一条语句来统计。

2.修复单引号转义语法解析错误

3.修复mysql的update语句不解析limit从句错误。

猜你喜欢

转载自axmanfisher.iteye.com/blog/1488542