]> Cypherpunks repositories - gostls13.git/commitdiff
database/sql: fix wrong method name in description
authorAlexey Palazhchenko <alexey.palazhchenko@gmail.com>
Tue, 18 Jul 2017 04:18:35 +0000 (07:18 +0300)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 18 Jul 2017 04:42:09 +0000 (04:42 +0000)
Change-Id: Ie6a88b70d7c45c59995ee2f57fb28f9a3cbb404d
Reviewed-on: https://go-review.googlesource.com/49470
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/database/sql/sql.go

index 59bbf59c30e53230572e2d760958b65eb603e491..c609fe4cc43198fbc2845f7a050b6fda974c3b3a 100644 (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.