Commit 4d120b5
fix(deps): update module github.com/go-sql-driver/mysql to v1.8.0 (#31708)
[](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.0` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>go-sql-driver/mysql (github.com/go-sql-driver/mysql)</summary>
###
[`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 - "on tuesday" (UTC), 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/open-telemetry/opentelemetry-collector-contrib).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzguMSIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>1 parent 5305277 commit 4d120b5
12 files changed
+36
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
| |||
342 | 343 | | |
343 | 344 | | |
344 | 345 | | |
345 | | - | |
| 346 | + | |
346 | 347 | | |
347 | 348 | | |
348 | 349 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| 237 | + | |
237 | 238 | | |
238 | 239 | | |
239 | 240 | | |
| |||
392 | 393 | | |
393 | 394 | | |
394 | 395 | | |
395 | | - | |
| 396 | + | |
396 | 397 | | |
397 | 398 | | |
398 | 399 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
| |||
360 | 361 | | |
361 | 362 | | |
362 | 363 | | |
363 | | - | |
| 364 | + | |
364 | 365 | | |
365 | 366 | | |
366 | 367 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments