Commit Graph
4006 Commits
Author SHA1 Message Date
shaojin.wensj f7bf7cbfaa bug fixed for select distinct, for issue #2989 2018-12-24 13:26:22 +08:00
shaojin.wensj 3211ec39e7 bug fixed for dead lock, for issue #2980 2018-12-21 20:24:47 +08:00
shaojin.wensj 6a6f9b72bd bug fixed for issue #2985 2018-12-21 20:15:03 +08:00
shaojin.wensj a1d9497c2d MBean add getUrl method, for issue #2986 2018-12-21 19:44:43 +08:00
shaojin.wensj 3820eab883 code format 2018-12-13 16:00:47 +08:00
shaojin.wensj 2edd53432b improved init performance. 2018-12-13 15:34:07 +08:00
shaojin.wensj 26a3af3904 set StringBuilder initial Size, reduce memory copy. 2018-12-03 09:41:15 +08:00
shaojin.wensj 4ffa0525c4 add more error info. 2018-11-23 17:32:50 +08:00
shaojin.wensj 475a848d6f add removeAbandoned warning. 2018-11-01 20:21:11 +08:00
wenshao 6ba791e6ba Merge branch 'master' of https://github.com/alibaba/druid 2018-10-29 09:54:00 +08:00
wenshao 443e91a545 bug fixed for issue #2876 2018-10-29 09:53:29 +08:00
温绍锦 1d85500c99 Merge pull request #2865 from yanhuqing666/patch-1
Fix Parser for Bit-Value Literals
2018-10-26 20:06:02 +08:00
tiger.yan fb8fb8a23e Update MySqlLexer.java 2018-10-17 17:14:12 +08:00
wenshao 66bb235f9b support phyMaxUseCount 2018-10-13 20:09:22 +08:00
wenshao f69e367e65 Merge branch 'master' of https://github.com/alibaba/druid 2018-10-13 19:50:06 +08:00
wenshao 636c7667e6 bug fixed for lexer.info, for issue #2847 2018-10-13 19:49:50 +08:00
memorylorry d9a4511059 add presto支持 2018-09-27 09:26:12 +08:00
wenshao 6ce53e3203 add more error info. 2018-09-21 16:24:21 +08:00
wenshao 4d0980dc14 1.1.12 2018-09-21 16:23:45 +08:00
wenshao 7aad235c3c DruidDataSource add property phyMaxUseCount & shrinkQuietly. 2018-09-19 11:33:45 +08:00
wenshao 7f26a37432 fixed compile. 2018-09-18 12:30:39 +08:00
温绍锦 40ad7f9dc3 Merge pull request #2723 from digitalsonic/master
修复HADataSource的健康检查问题
2018-09-14 21:37:45 +08:00
温绍锦 3633d126d4 Merge pull request #2735 from xiaoma20082008/master
h2数据库支持解析完整的insert set语句为单条以及参数化输出时支持char类型的数据
2018-09-14 21:36:59 +08:00
温绍锦 70083fa393 Merge pull request #2744 from johnhuang-cn/master
Add support for mysql 8.0.xx driver
2018-09-14 21:28:49 +08:00
wenshao c4e3844056 bug fixed for WebAppStat.getSessionList. 2018-09-12 20:44:21 +08:00
wenshao 03845a41be DruidDataSource support config 'initExceptionThrow' 2018-09-12 20:34:40 +08:00
wenshao bf30592712 bug fixed for getRemoteAddress. 2018-09-12 20:32:40 +08:00
wenshao e92e385609 bug fixed for sql parser, for issue #2773 2018-08-28 17:38:17 +08:00
wenshao c82c70617c bug fixed for sql parser. 2018-08-28 17:32:43 +08:00
wenshao 8542906c15 add comment. 2018-08-28 17:31:45 +08:00
wenshao 22843bc8e2 bug fixed for mysql parser, support unsigned type. 2018-08-28 17:27:54 +08:00
DigitalSonic 54349c6f09 fix datasource name bug
add an identityHashCode suffix
2018-08-23 00:30:38 +08:00
wenshao 14c151ba06 bug fixed for initExceptionThrow 2018-08-22 18:06:03 +08:00
wenshao a40071a3cb DruidDataSource support initExceptionThrow config. 2018-08-22 17:29:26 +08:00
wenshao ed46ec45ce DruidDataSource add initExceptionThrow config. 2018-08-22 17:04:22 +08:00
DigitalSonic 8630cf9b5f Optimize getConnection() method
The initialization process is optimized.
If init() is not invoked before getConnection(), it will call init()
first.
When selector obtain a null DataSource, getConnection() will return
null instead of throwing a NullPointerException.
2018-08-17 00:16:10 +08:00
wenshao 176390c5b1 bug fixed for DruidDataSource createPhysical error status 2018-08-08 17:38:34 +08:00
John Huang 7ef5c74aa1 Add support for mysql 8.0.xx driver
From 8.0.11 the driver is changed to com.mysql.cj.jdbc.JdbcConnection, so try loading it again when com.mysql.cj.api.conf.PropertySet loaded failed.
2018-08-07 12:28:29 +08:00
DigitalSonic cc60085bd1 Merge remote-tracking branch 'alibaba/master' 2018-08-06 00:14:16 +08:00
DigitalSonic f355d62981 split the getter/setter for selector
Some old versions of Spring Framework would check the getter/setter of
a bean property. While they were not the same type, exception would be
thrown.
So selector’s getter&setter are all String now.
2018-08-05 23:42:59 +08:00
xiaoma20082008 b368d6f5c1 Merge branch 'master' into master 2018-08-02 22:39:58 +08:00
xiaoma20082008 1be6d04a9a feat:1.h2 database's insert statement support set statement,2: support char instead of 'java.lang.Character' when SQLASTOutputVisitor visit prepared sql and the inputParameters has a char value 2018-08-02 22:15:45 +08:00
wenshao b3572b7601 bug fixed for mysql parser, for issue #2718 2018-07-20 09:47:43 +08:00
wenshao 6572e9a20c bug fixed for issue #2658 2018-07-16 14:44:56 +08:00
DigitalSonic 0d78a27d48 Fix validation bug
fix the following situation:

1. rawURL can not meet the need to create Connection
2. username and password are not given in Properties

if testOnBorrow or testOnReturn is set to true, the ValidationThread
will be disabled.
2018-07-12 00:00:24 +08:00
wenshao 00a9b92ca1 improved mysql parser support. 2018-06-21 09:54:08 +08:00
wenshao 3d7a66ff3f removed duplicate method. 2018-05-31 15:13:40 +08:00
wenshao 6c3154e33d improved sql paser for mysql. issue #2611 2018-05-31 14:32:25 +08:00
wenshao cf57b62d4c Merge branch 'master' of https://github.com/alibaba/druid 2018-05-31 13:51:47 +08:00
wenshao ca38876d1e improved sql paser for aliyun analyticdb. 2018-05-31 13:51:32 +08:00