Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
go-sql-driver
mysql
Repository navigation
Code
Issues
40
(40)
Pull requests
18
(18)
Discussions
Actions
Wiki
Security and quality
Insights
More
items
Introduce a new method mysqlConn.Reset()
- #1734
#1734
Open
zenovich
wants to merge 10 commits into
go-sql-driver:master
go-sql-driver/mysql:master
from
zenovich:mysqlConnReset
zenovich/mysql:mysqlConnReset
Copy head branch name to clipboard
Conversation
Commits
10
(10)
Checks
Files changed
Open
Introduce a new method mysqlConn.Reset()
#1734
zenovich
wants to merge 10 commits into
go-sql-driver:master
go-sql-driver/mysql:master
from
zenovich:mysqlConnReset
zenovich/mysql:mysqlConnReset
Copy head branch name to clipboard
Commits
Commits on Aug 25, 2025
introduce a new method mysqlConn.sendNoArgsCommandWithResultOK() based on the implementation of mysqlConn.Ping(); replace the implementation of mysqlConn.Ping() with "return mc.sendNoArgsCommandWit…
Show description for a3f2c66
zenovich
committed
a3f2c66
View commit details
Copy full SHA for a3f2c66
Browse repository at this point
introduce a new method mysqlConn.Reset() allowing to reset the mysql connection (implemented as "return mc.sendNoArgsCommandWithResultOK(ctx, comConnReset)" where comConnReset=31); add tests
zenovich
committed
d6400de
View commit details
Copy full SHA for d6400de
Browse repository at this point
add Dmitry Zenovich into the list of authors
zenovich
committed
43cdc22
View commit details
Copy full SHA for 43cdc22
Browse repository at this point
Commits on Aug 26, 2025
rename constant comConnReset to comResetConnection, add preceding constants (comDaemon and comBinlogDumpGTID) to make their values auto-generated
zenovich
committed
8630716
View commit details
Copy full SHA for 8630716
Browse repository at this point
rename method mysqlConn.sendNoArgsCommandWithResultOK() to mysqlConn.sendSimpleCommandOK(), rename related tests accordingly
zenovich
committed
527b0ab
View commit details
Copy full SHA for 527b0ab
Browse repository at this point
improve the comment of mysqlConn.Reset()
zenovich
committed
3d484fc
View commit details
Copy full SHA for 3d484fc
Browse repository at this point
fix issues in tests TestNoArgsCommand (+ rename it to TestSimpleCommandOK) and TestReset: fix messages and comments, close DB connections
zenovich
committed
272fe81
View commit details
Copy full SHA for 272fe81
Browse repository at this point
allow skipping TestReset and TestSimpleCommandOK_Reset when COM_RESET_CONNECTION is not supported by the DB, support the text protocol when using driver.Rows() in TestReset()
zenovich
committed
9c308f1
View commit details
Copy full SHA for 9c308f1
Browse repository at this point
use QueryContext instead of Query in TestSimpleCommandOK and verify result of rows closing there, add a comment explaining why we do not clear the destination before calling rows.Next() in TestReset
zenovich
committed
203cac4
View commit details
Copy full SHA for 203cac4
Browse repository at this point
seed the result with a sentinel explicitly in TestReset
zenovich
committed
02afe1d
View commit details
Copy full SHA for 02afe1d
Browse repository at this point
You can’t perform that action at this time.