Commit 2637f1f9 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

database/sql: fix subject of unexported func comment

Change-Id: I5db429c86e01b55ec3abc6ab4ca11c221b27f189
Reviewed-on: https://go-review.googlesource.com/c/go/+/177039Reviewed-by: default avatarDaniel Theophanes <kardianos@gmail.com>
parent a5cea062
...@@ -98,10 +98,12 @@ func defaultCheckNamedValue(nv *driver.NamedValue) (err error) { ...@@ -98,10 +98,12 @@ func defaultCheckNamedValue(nv *driver.NamedValue) (err error) {
return err return err
} }
// driverArgs converts arguments from callers of Stmt.Exec and // driverArgsConnLocked converts arguments from callers of Stmt.Exec and
// Stmt.Query into driver Values. // Stmt.Query into driver Values.
// //
// The statement ds may be nil, if no statement is available. // The statement ds may be nil, if no statement is available.
//
// ci must be locked.
func driverArgsConnLocked(ci driver.Conn, ds *driverStmt, args []interface{}) ([]driver.NamedValue, error) { func driverArgsConnLocked(ci driver.Conn, ds *driverStmt, args []interface{}) ([]driver.NamedValue, error) {
nvargs := make([]driver.NamedValue, len(args)) nvargs := make([]driver.NamedValue, len(args))
......
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