-
Notifications
You must be signed in to change notification settings - Fork 1
Commit 8acbce3
authored
fix(deps): update module github.com/go-sql-driver/mysql to v1.8.1 (#112)
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/go-sql-driver/mysql](https://togithub.com/go-sql-driver/mysql)
| `v1.7.1` -> `v1.8.1` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>go-sql-driver/mysql (github.com/go-sql-driver/mysql)</summary>
###
[`v1.8.1`](https://togithub.com/go-sql-driver/mysql/releases/tag/v1.8.1)
[Compare
Source](https://togithub.com/go-sql-driver/mysql/compare/v1.8.0...v1.8.1)
#### What's Changed
Bugfixes:
- fix race condition when context is canceled in
[#​1562](https://togithub.com/go-sql-driver/mysql/pull/1562) and
[#​1570](https://togithub.com/go-sql-driver/mysql/pull/1570)
**Full Changelog**:
go-sql-driver/mysql@v1.8.0...v1.8.1
###
[`v1.8.0`](https://togithub.com/go-sql-driver/mysql/releases/tag/v1.8.0)
[Compare
Source](https://togithub.com/go-sql-driver/mysql/compare/v1.7.1...v1.8.0)
#### What's Changed
##### Major changes
- Use `SET NAMES charset COLLATE collation`. by
[@​methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1437](https://togithub.com/go-sql-driver/mysql/pull/1437)
- PathEscape dbname in DSN. by
[@​methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1432](https://togithub.com/go-sql-driver/mysql/pull/1432)
- Drop Go 1.13-17 support by
[@​methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1420](https://togithub.com/go-sql-driver/mysql/pull/1420)
- Parse numbers on text protocol too by
[@​methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1452](https://togithub.com/go-sql-driver/mysql/pull/1452)
##### Other changes
- Adding DeregisterDialContext to prevent memory leaks with dialers we
don't need anymore by [@​jypelle](https://togithub.com/jypelle) in
[https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422)
- Make logger configurable per connection by
[@​frozenbonito](https://togithub.com/frozenbonito) in
[https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408)
- Fix ColumnType.DatabaseTypeName for mediumint unsigned by
[@​evanelias](https://togithub.com/evanelias) in
[https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428)
- Add connection attributes by
[@​Daemonxiao](https://togithub.com/Daemonxiao) in
[https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389)
- Stop `ColumnTypeScanType()` from returning `sql.RawBytes` by
[@​methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1424](https://togithub.com/go-sql-driver/mysql/pull/1424)
- Exec() now provides access to status of multiple statements. by
[@​mherr-google](https://togithub.com/mherr-google) in
[https://github.com/go-sql-driver/mysql/pull/1309](https://togithub.com/go-sql-driver/mysql/pull/1309)
- Allow to change (or disable) the default driver name for registration
by [@​dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1499](https://togithub.com/go-sql-driver/mysql/pull/1499)
- Add default connection attribute '\_server_host' by
[@​oblitorum](https://togithub.com/oblitorum) in
[https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506)
- Make TimeTruncate functional option by
[@​methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1552](https://togithub.com/go-sql-driver/mysql/pull/1552)
- Add BeforeConnect callback to configuration object by
[@​ItalyPaleAle](https://togithub.com/ItalyPaleAle) in
[https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469)
- QueryUnescape DSN ConnectionAttribute value by
[@​zhangyangyu](https://togithub.com/zhangyangyu) in
[https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470)
- Add client_ed25519 authentication by
[@​Gusted](https://togithub.com/Gusted) in
[https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518)
- Reduced allocation on connection.go by
[@​EPuncker](https://togithub.com/EPuncker) in
[https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421)
- Avoid panic in TestRowsColumnTypes by
[@​wayyoungboy](https://togithub.com/wayyoungboy) in
[https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426)
- Add benchmark to receive massive rows. by
[@​methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1415](https://togithub.com/go-sql-driver/mysql/pull/1415)
- README: Update multistatement by
[@​methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1431](https://togithub.com/go-sql-driver/mysql/pull/1431)
- all: replace ioutil pkg to new package by
[@​uji](https://togithub.com/uji) in
[https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438)
- chore: code optimization by
[@​testwill](https://togithub.com/testwill) in
[https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439)
- Reduce map lookup in ColumnTypeDatabaseTypeName. by
[@​methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1436](https://togithub.com/go-sql-driver/mysql/pull/1436)
- doc: add link to NewConnector from FormatDSN by
[@​dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1442](https://togithub.com/go-sql-driver/mysql/pull/1442)
- Add fuzz test for ParseDSN / FormatDSN roundtrip by
[@​dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1444](https://togithub.com/go-sql-driver/mysql/pull/1444)
- TestDSNReformat: add more roundtrip checks by
[@​dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1443](https://togithub.com/go-sql-driver/mysql/pull/1443)
- tcp: handle errors returned by SetKeepAlive by
[@​achille-roussel](https://togithub.com/achille-roussel) in
[https://github.com/go-sql-driver/mysql/pull/1448](https://togithub.com/go-sql-driver/mysql/pull/1448)
- use staticcheck by [@​methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1449](https://togithub.com/go-sql-driver/mysql/pull/1449)
- Add Daemonxiao to AUTHORS by
[@​Daemonxiao](https://togithub.com/Daemonxiao) in
[https://github.com/go-sql-driver/mysql/pull/1459](https://togithub.com/go-sql-driver/mysql/pull/1459)
- Update link about `LOAD DATA LOCAL` in README.md by
[@​i7a7467](https://togithub.com/i7a7467) in
[https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468)
- Update README.md by [@​Netzer7](https://togithub.com/Netzer7) in
[https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464)
- add Go 1.21 and MySQL 8.1 to the build matrix by
[@​shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1472](https://togithub.com/go-sql-driver/mysql/pull/1472)
- Improve DSN docstsrings by
[@​golddranks](https://togithub.com/golddranks) in
[https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475)
- Fix
[#​1478](https://togithub.com/go-sql-driver/mysql/issues/1478)
remove length check by
[@​ShenFeng312](https://togithub.com/ShenFeng312) in
[https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481)
- README: fix markup error by
[@​methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1480](https://togithub.com/go-sql-driver/mysql/pull/1480)
- Close connection on ErrPktSync and ErrPktSyncMul by
[@​owbone](https://togithub.com/owbone) in
[https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473)
- Spelling, grammar, and link fixes by
[@​scop](https://togithub.com/scop) in
[https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485)
- Make use of strings.Cut by [@​scop](https://togithub.com/scop)
in
[https://github.com/go-sql-driver/mysql/pull/1486](https://togithub.com/go-sql-driver/mysql/pull/1486)
- move stale connection check to ResetSession() by
[@​methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1496](https://togithub.com/go-sql-driver/mysql/pull/1496)
- fix race condition of TestConcurrent by
[@​shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1490](https://togithub.com/go-sql-driver/mysql/pull/1490)
- mark fail, mustExec and mustQuery as test helpers by
[@​shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1488](https://togithub.com/go-sql-driver/mysql/pull/1488)
- Remove obsolete fuzz.go
[#​1445](https://togithub.com/go-sql-driver/mysql/issues/1445) by
[@​dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1498](https://togithub.com/go-sql-driver/mysql/pull/1498)
- testing: expose testing.TB in DBTest instead of full \*testing.T by
[@​dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1500](https://togithub.com/go-sql-driver/mysql/pull/1500)
- symbol removed from installation command by
[@​panvalkar1994](https://togithub.com/panvalkar1994) in
[https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510)
- fix issue 1361 by
[@​keeplearning20221](https://togithub.com/keeplearning20221) in
[https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462)
- fix fragile test by [@​methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1522](https://togithub.com/go-sql-driver/mysql/pull/1522)
- Fix sql.RawBytes corruption issue by
[@​shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1523](https://togithub.com/go-sql-driver/mysql/pull/1523)
- fix for enum and set field type to column type identifying by
[@​jennifersp](https://togithub.com/jennifersp) in
[https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520)
- Parallelize test by
[@​shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1525](https://togithub.com/go-sql-driver/mysql/pull/1525)
- Fix unsigned int overflow by
[@​shiyuhang0](https://togithub.com/shiyuhang0) in
[https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530)
- Introduce `timeTruncate` parameter for `time.Time` arguments by
[@​PauliusLozys](https://togithub.com/PauliusLozys) in
[https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541)
- add TiDB support in README.md by
[@​crazycs520](https://togithub.com/crazycs520) in
[https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333)
- Update workflows by [@​methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1547](https://togithub.com/go-sql-driver/mysql/pull/1547)
#### New Contributors
- [@​EPuncker](https://togithub.com/EPuncker) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421)
- [@​jypelle](https://togithub.com/jypelle) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422)
- [@​frozenbonito](https://togithub.com/frozenbonito) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408)
- [@​wayyoungboy](https://togithub.com/wayyoungboy) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426)
- [@​evanelias](https://togithub.com/evanelias) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428)
- [@​Daemonxiao](https://togithub.com/Daemonxiao) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389)
- [@​uji](https://togithub.com/uji) made their first contribution
in
[https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438)
- [@​testwill](https://togithub.com/testwill) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439)
- [@​i7a7467](https://togithub.com/i7a7467) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468)
- [@​Netzer7](https://togithub.com/Netzer7) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464)
- [@​golddranks](https://togithub.com/golddranks) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475)
- [@​ShenFeng312](https://togithub.com/ShenFeng312) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481)
- [@​owbone](https://togithub.com/owbone) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473)
- [@​scop](https://togithub.com/scop) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485)
- [@​panvalkar1994](https://togithub.com/panvalkar1994) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510)
- [@​zhangyangyu](https://togithub.com/zhangyangyu) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470)
- [@​keeplearning20221](https://togithub.com/keeplearning20221)
made their first contribution in
[https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462)
- [@​oblitorum](https://togithub.com/oblitorum) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506)
- [@​Gusted](https://togithub.com/Gusted) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518)
- [@​jennifersp](https://togithub.com/jennifersp) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520)
- [@​shiyuhang0](https://togithub.com/shiyuhang0) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530)
- [@​PauliusLozys](https://togithub.com/PauliusLozys) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541)
- [@​crazycs520](https://togithub.com/crazycs520) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333)
- [@​ItalyPaleAle](https://togithub.com/ItalyPaleAle) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469)
**Full Changelog**:
go-sql-driver/mysql@v1.7.1...v1.8.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/PingCAP-QE/ee-apps).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 05c2f07 commit 8acbce3Copy full SHA for 8acbce3
2 files changed
+7
-3
lines changed+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
| 20 | + | |
19 | 21 |
| |
20 | 22 |
| |
21 | 23 |
| |
|
+4-2Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
| 47 | + | |
| 48 | + | |
47 | 49 |
| |
48 | 50 |
| |
49 | 51 |
| |
| |||
176 | 178 |
| |
177 | 179 |
| |
178 | 180 |
| |
179 |
| - | |
180 |
| - | |
| 181 | + | |
| 182 | + | |
181 | 183 |
| |
182 | 184 |
| |
183 | 185 |
| |
|
0 commit comments