database/sql: fix wrong method name in description

Change-Id: Ie6a88b70d7c45c59995ee2f57fb28f9a3cbb404d
Reviewed-on: https://go-review.googlesource.com/49470
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Alexey Palazhchenko 2017-07-18 07:18:35 +03:00 committed by Brad Fitzpatrick
parent 235aff0a40
commit e9b9dfe3f7

View file

@ -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.