Commit e9b9dfe3 authored by Alexey Palazhchenko's avatar Alexey Palazhchenko Committed by Brad Fitzpatrick

database/sql: fix wrong method name in description

Change-Id: Ie6a88b70d7c45c59995ee2f57fb28f9a3cbb404d
Reviewed-on: https://go-review.googlesource.com/49470Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 235aff0a
......@@ -1813,7 +1813,7 @@ func (tx *Tx) Rollback() error {
return tx.rollback(false)
}
// Prepare creates a prepared statement for use within a transaction.
// PrepareContext creates a prepared statement for use within a transaction.
//
// The returned statement operates within the transaction and will be closed
// when the transaction has been committed or rolled back.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment