Skip to content

Commit 92ef6f7

Browse files
Update README.md
Co-authored-by: Inada Naoki <[email protected]>
1 parent e330067 commit 92ef6f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,8 @@ This driver supports the [`ColumnType` interface](https://golang.org/pkg/databas
519519
Go 1.8 added `database/sql` support for `context.Context`. This driver supports query timeouts and cancellation via contexts.
520520
See [context support in the database/sql package](https://golang.org/doc/go1.8#database_sql) for more details.
521521

522-
Importantly, the `SelectContext`, `ExecContext`, etc. variants provided by `database/sql` will cause the connection to be closed if the provided context is cancelled or timed out before the result is received by the driver.
522+
> [!IMPORTANT]
523+
> The `QueryContext`, `ExecContext`, etc. variants provided by `database/sql` will cause the connection to be closed if the provided context is cancelled or timed out before the result is received by the driver.
523524
524525

525526
### `LOAD DATA LOCAL INFILE` support

0 commit comments

Comments
 (0)