Closed chriskirkland closed 1 month ago
The update enhances database/sql
operations by implementing support for context cancellation. This ensures that connections are closed if their context is canceled or times out before the operation completes. Additionally, it highlights necessary changes to import paths for LOAD DATA LOCAL INFILE
, improving functionality in context-aware scenarios.
File | Change Summary |
---|---|
README.md |
Updated to clarify support for context cancellation in database/sql operations and import path changes for LOAD DATA LOCAL INFILE . |
A query races through the sql,
With context watchful, it’ll never fail,
Timeout whispers, “Close the gate!”
Import paths adjust, don’t hesitate.
In code's vast field we softly tread,
With every change, we move ahead. 🌟🐰
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
Updates the README to make it clear that
go-sql-driver/mysql
closes the current connection if thecontext.Context
provided toExecContext
,SelectContext
, etc. is cancelled or times out prior to the query returning.As is, that behavior is not clearly documented.
Checklist
Summary by CodeRabbit
Summary by CodeRabbit