fix(deps): update module github.com/go-sql-driver/mysql to v1.10.2 #40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/github.com-go-sql-driver-mysql-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v1.10.1→v1.10.2Release Notes
go-sql-driver/mysql (github.com/go-sql-driver/mysql)
v1.10.2Compare Source
Changes since v1.10.1.
Security fixes
Return
ErrMalformPktinstead of panicking on truncated initial handshakepackets, including the greeting received before TLS negotiation.
(GHSA-9qjq-77h9-895w, #1850)
Discard connections after a failed
LOAD DATA LOCAL INFILE, including readerClose()errors, so unread results from a multi-statement batch cannot bereturned to a later caller. Preserve the server's response status and avoid
retrying the batch after an upload write failure. (GHSA-4v5x-9mc8-gr98)
Reject
interpolateParams=truecombined with an unsafe multibyte charset(
big5,sjis,gbk,cp932,gb18030) given bycharsetorCharset().Previously only
collationwas checked. Collations are now matchedcase-insensitively and by their charset prefix. The check also runs again
after a
BeforeConnectcallback has modified the config. Stop rejectinggb2312_bin; GB2312 trailing bytes cannot contain a backslash. The error textchanged from
invalid DSN: interpolateParams can not be used with unsafe collationsto
interpolateParams cannot be used with unsafe charsets, because it may alsobe returned by
NewConnectororConnector.ConnectafterBeforeConnect.Applications comparing the complete error string must update their comparison. (#1836)
Fix
interpolateParamsnot treating--followed by\v,\f, anothercontrol character, DEL, or a raw
0xA0byte as a comment. Other non-ASCIIbytes after
--remain outside the supported interpolation grammar. (#1836)Fix
interpolateParamstreating the*that opens/*/as closing thecomment. (#1835)
Bugfixes
Honor
BeforeConnectchanges to the timeout, dialer, logger, and connectionattributes without modifying the shared connector. (#1809)
Validate prepared statement arguments and packet size before sending long
data, and reset the statement if a long-data write fails. (#1810)
Fix the reported precision of unsigned DECIMAL columns. (#1813)
Preserve full two-byte column collation IDs so IDs above 255 do not cause
text columns to be reported as binary columns. (#1818)
Fix the inverted check for collations outside the handshake's one-byte map.
Accept them when a charset is supplied, using
SET NAMES ... COLLATE;reject them when no charset is supplied instead of silently using the
default collation. (#1832)
Preserve and log idle server error packets before discarding a connection,
with bounded diagnostics over plain, TLS, and zlib connections. (#1843)
CI
Update GitHub Actions dependencies and add a workflow dependency lockfile. (#1838)
Pin the lint job to Go 1.26 and Staticcheck v0.8.1 for compatibility. (#1824)
Limit Go module Dependabot pull requests to security updates. (#1829)
Test Go 1.27 and MySQL 9.7 while retaining Go 1.24 and the existing database
compatibility jobs.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.