Skip to content

Commit b5b93d7

Browse files
feat(mysql): bump github.com/go-sql-driver/mysql from 1.8.1 to 1.9.3 (#342)
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.8.1 to 1.9.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/go-sql-driver/mysql/releases">github.com/go-sql-driver/mysql's releases</a>.</em></p> <blockquote> <h2>v1.9.3</h2> <h2>What's Changed</h2> <ul> <li>[1.9] test stability improvement. by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://redirect.github.com/go-sql-driver/mysql/pull/1699">go-sql-driver/mysql#1699</a></li> <li>[1.9] Transaction Commit/Rollback returns conn's cached error by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://redirect.github.com/go-sql-driver/mysql/pull/1702">go-sql-driver/mysql#1702</a></li> <li>backport benchmark_test by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://redirect.github.com/go-sql-driver/mysql/pull/1706">go-sql-driver/mysql#1706</a></li> <li>[1.9] optimize readPacket (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1705">#1705</a>) by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://redirect.github.com/go-sql-driver/mysql/pull/1707">go-sql-driver/mysql#1707</a></li> <li>[1.9] fix PING on compressed connections by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://redirect.github.com/go-sql-driver/mysql/pull/1723">go-sql-driver/mysql#1723</a></li> <li>release v1.9.3 by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://redirect.github.com/go-sql-driver/mysql/pull/1725">go-sql-driver/mysql#1725</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/go-sql-driver/mysql/compare/v1.9.2...v1.9.3">https://github.com/go-sql-driver/mysql/compare/v1.9.2...v1.9.3</a></p> <h2>v1.9.2</h2> <h2>What's Changed</h2> <p>v1.9.2 is a re-release of v1.9.1 due to a release process issue; no changes were made to the content.</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/go-sql-driver/mysql/compare/v1.9.1...v1.9.2">https://github.com/go-sql-driver/mysql/compare/v1.9.1...v1.9.2</a></p> <h2>v1.9.1</h2> <h2>What's Changed</h2> <ul> <li>add Charset() option by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://redirect.github.com/go-sql-driver/mysql/pull/1679">go-sql-driver/mysql#1679</a></li> <li>Fix FormatDSN missing ConnectionAttributes by <a href="https://github.com/bogcon"><code>@​bogcon</code></a> in <a href="https://redirect.github.com/go-sql-driver/mysql/pull/1619">go-sql-driver/mysql#1619</a></li> <li>go.mod: fix go version format by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://redirect.github.com/go-sql-driver/mysql/pull/1682">go-sql-driver/mysql#1682</a></li> <li>release v1.9.1 by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://redirect.github.com/go-sql-driver/mysql/pull/1683">go-sql-driver/mysql#1683</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/bogcon"><code>@​bogcon</code></a> made their first contribution in <a href="https://redirect.github.com/go-sql-driver/mysql/pull/1619">go-sql-driver/mysql#1619</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/go-sql-driver/mysql/compare/v1.9.0...v1.9.1">https://github.com/go-sql-driver/mysql/compare/v1.9.0...v1.9.1</a></p> <h2>v1.9.0</h2> <h2>Major Changes</h2> <ul> <li>Implement zlib compression. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1487">#1487</a>)</li> <li>Supported Go version is updated to Go 1.21+. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1639">#1639</a>)</li> <li>Add support for VECTOR type introduced in MySQL 9.0. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1609">#1609</a>)</li> <li>Config object can have custom dial function. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1527">#1527</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li>Fix auth errors when username/password are too long. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1625">#1625</a>)</li> <li>Check if MySQL supports CLIENT_CONNECT_ATTRS before sending client attributes. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1640">#1640</a>)</li> <li>Fix auth switch request handling. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1666">#1666</a>)</li> </ul> <h2>Other changes</h2> <ul> <li>Add &quot;filename:line&quot; prefix to log in go-mysql. Custom loggers now show it. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1589">#1589</a>)</li> <li>Improve error handling. It reduces the &quot;busy buffer&quot; errors. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1595">#1595</a>, <a href="https://redirect.github.com/go-sql-driver/mysql/issues/1601">#1601</a>, <a href="https://redirect.github.com/go-sql-driver/mysql/issues/1641">#1641</a>)</li> <li>Use <code>strconv.Atoi</code> to parse max_allowed_packet. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1661">#1661</a>)</li> <li><code>rejectReadOnly</code> option now handles ER_READ_ONLY_MODE (1290) error too. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1660">#1660</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/go-sql-driver/mysql/blob/v1.9.3/CHANGELOG.md">github.com/go-sql-driver/mysql's changelog</a>.</em></p> <blockquote> <h2>v1.9.3 (2025-06-13)</h2> <ul> <li> <p><code>tx.Commit()</code> and <code>tx.Rollback()</code> returned <code>ErrInvalidConn</code> always. Now they return cached real error if present. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1690">#1690</a>)</p> </li> <li> <p>Optimize reading small resultsets to fix performance regression introduced by compression protocol support. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1707">#1707</a>)</p> </li> <li> <p>Fix <code>db.Ping()</code> on compressed connection. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1723">#1723</a>)</p> </li> </ul> <h2>v1.9.2 (2025-04-07)</h2> <p>v1.9.2 is a re-release of v1.9.1 due to a release process issue; no changes were made to the content.</p> <h2>v1.9.1 (2025-03-21)</h2> <h3>Major Changes</h3> <ul> <li>Add Charset() option. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1679">#1679</a>)</li> </ul> <h3>Bugfixes</h3> <ul> <li>go.mod: fix go version format (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1682">#1682</a>)</li> <li>Fix FormatDSN missing ConnectionAttributes (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1619">#1619</a>)</li> </ul> <h2>v1.9.0 (2025-02-18)</h2> <h3>Major Changes</h3> <ul> <li>Implement zlib compression. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1487">#1487</a>)</li> <li>Supported Go version is updated to Go 1.21+. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1639">#1639</a>)</li> <li>Add support for VECTOR type introduced in MySQL 9.0. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1609">#1609</a>)</li> <li>Config object can have custom dial function. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1527">#1527</a>)</li> </ul> <h3>Bugfixes</h3> <ul> <li>Fix auth errors when username/password are too long. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1625">#1625</a>)</li> <li>Check if MySQL supports CLIENT_CONNECT_ATTRS before sending client attributes. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1640">#1640</a>)</li> <li>Fix auth switch request handling. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1666">#1666</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>Add &quot;filename:line&quot; prefix to log in go-mysql. Custom loggers now show it. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1589">#1589</a>)</li> <li>Improve error handling. It reduces the &quot;busy buffer&quot; errors. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1595">#1595</a>, <a href="https://redirect.github.com/go-sql-driver/mysql/issues/1601">#1601</a>, <a href="https://redirect.github.com/go-sql-driver/mysql/issues/1641">#1641</a>)</li> <li>Use <code>strconv.Atoi</code> to parse max_allowed_packet. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1661">#1661</a>)</li> <li><code>rejectReadOnly</code> option now handles ER_READ_ONLY_MODE (1290) error too. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1660">#1660</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/go-sql-driver/mysql/commit/62984ada4402df6571557bc3fed2bcbde48ec908"><code>62984ad</code></a> release v1.9.3 (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1725">#1725</a>)</li> <li><a href="https://github.com/go-sql-driver/mysql/commit/324cbb386b73b7d0cec9895c695539431b40e605"><code>324cbb3</code></a> [1.9] fix PING on compressed connections (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1723">#1723</a>)</li> <li><a href="https://github.com/go-sql-driver/mysql/commit/dfd973a35f4c6829df7cce062cb527caf6da7b13"><code>dfd973a</code></a> optimize readPacket (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1707">#1707</a>)</li> <li><a href="https://github.com/go-sql-driver/mysql/commit/2ed589b51cdf34d0b200c1b0dc38ed90b60be55e"><code>2ed589b</code></a> backport benchmark_test (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1706">#1706</a>)</li> <li><a href="https://github.com/go-sql-driver/mysql/commit/ac04e5f831c049a1ccf04bd2d62211b26f6b7cd9"><code>ac04e5f</code></a> Transaction Commit/Rollback returns conn's cached error (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1702">#1702</a>)</li> <li><a href="https://github.com/go-sql-driver/mysql/commit/1bee809eff41386f59b2c825763f80f13ec5c3fe"><code>1bee809</code></a> test stability improvement. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1699">#1699</a>)</li> <li><a href="https://github.com/go-sql-driver/mysql/commit/21ef4c694538530b2e4b43d1a197402ed22e9749"><code>21ef4c6</code></a> release v1.9.2 (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1693">#1693</a>)</li> <li><a href="https://github.com/go-sql-driver/mysql/commit/1fbafa8082dab81e2c2e8caeb55d569dfeafcf94"><code>1fbafa8</code></a> release v1.9.1 (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1683">#1683</a>)</li> <li><a href="https://github.com/go-sql-driver/mysql/commit/b84ac5af9c77b13e4c6417e484cbed087cd672f3"><code>b84ac5a</code></a> go.mod: fix go version format (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1682">#1682</a>)</li> <li><a href="https://github.com/go-sql-driver/mysql/commit/88ff88b5915d34bde2b2c59991c586abb8ea9eca"><code>88ff88b</code></a> Fix FormatDSN missing ConnectionAttributes (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1619">#1619</a>)</li> <li>Additional commits viewable in <a href="https://github.com/go-sql-driver/mysql/compare/v1.8.1...v1.9.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/go-sql-driver/mysql&package-manager=go_modules&previous-version=1.8.1&new-version=1.9.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 54a88fc commit b5b93d7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require (
1717
github.com/databricks/databricks-sql-go v1.6.1
1818
github.com/dlclark/regexp2 v1.11.5
1919
github.com/gliderlabs/ssh v0.3.8
20-
github.com/go-sql-driver/mysql v1.8.1
20+
github.com/go-sql-driver/mysql v1.9.3
2121
github.com/google/uuid v1.6.0
2222
github.com/lib/pq v1.10.9
2323
github.com/ory/dockertest/v3 v3.12.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI=
179179
github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
180180
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
181181
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
182-
github.com/go-sql-driver/mysql v1.8.1 h1:LedoTUt/eveggdHS9qUFC1EFSa8bU2+1pZjSRpvNJ1Y=
183-
github.com/go-sql-driver/mysql v1.8.1/go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqwuVSjsCm7DZg=
182+
github.com/go-sql-driver/mysql v1.9.3 h1:U/N249h2WzJ3Ukj8SowVFjdtZKfu9vlLZxjPXV1aweo=
183+
github.com/go-sql-driver/mysql v1.9.3/go.mod h1:qn46aNg1333BRMNU69Lq93t8du/dwxI64Gl8i5p1WMU=
184184
github.com/go-viper/mapstructure/v2 v2.3.0 h1:27XbWsHIqhbdR5TIC911OfYvgSaW93HM+dX7970Q7jk=
185185
github.com/go-viper/mapstructure/v2 v2.3.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
186186
github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4=

0 commit comments

Comments
 (0)