add SetConnMaxIdleTime for go1.15 or higher #1774

Closed
Warashi wants to merge 3 commits from feature/add-setconnmaxidletime into master
First-time contributor

sql.DB got SetConnMaxIdleTime at the go 1.15 release.

https://golang.org/doc/go1.15#database/sql
https://golang.org/pkg/database/sql/#DB.SetConnMaxIdleTime

This PR add SetConnMaxIdleTime method when using go 1.15 or higher.

sql.DB got SetConnMaxIdleTime at the go 1.15 release. https://golang.org/doc/go1.15#database/sql https://golang.org/pkg/database/sql/#DB.SetConnMaxIdleTime This PR add SetConnMaxIdleTime method when using go 1.15 or higher.
Warashi added 1 commit 2020-08-25 21:55:07 +00:00
add SetConnMaxIdleTime for go1.15 or higher
Some checks failed
continuous-integration/drone/pr Build is failing
164d992622
Author
First-time contributor

Test failed but this error maybe not occurred by this change.

--- FAIL: TestExistStructForJoin (0.32s)
    testing.go:809: race detected during execution of test
Test failed but this error maybe not occurred by this change. ``` --- FAIL: TestExistStructForJoin (0.32s) testing.go:809: race detected during execution of test ```
lunny added this to the 1.1.1 milestone 2021-04-10 05:21:25 +00:00
lunny modified the milestone from 1.1.1 to (deleted) 2021-06-07 05:52:47 +00:00
First-time contributor

这个什么时候可以支持 xorm 已经1.3.2了,对于sql的SetConnMaxIdleTime 设置还不能设置。

这个什么时候可以支持 xorm 已经1.3.2了,对于sql的SetConnMaxIdleTime 设置还不能设置。
lunny added 1 commit 2023-01-06 08:12:42 +00:00
fix bug
Some checks failed
continuous-integration/drone/pr Build is failing
27d1248aa7
lunny added 1 commit 2023-01-06 15:13:42 +00:00
Fix interface
Some checks failed
continuous-integration/drone/pr Build is failing
e5b6821e0e
Owner

This has been resolved.

This has been resolved.
lunny closed this pull request 2023-07-22 15:18:44 +00:00
lunny removed this from the (deleted) milestone 2023-07-26 01:22:33 +00:00
Some checks failed
continuous-integration/drone/pr Build is failing

Pull request closed

Sign in to join this conversation.
No description provided.