From 36461eff94e72e1a3e45425ef7cfd5c93130e3f3 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 13 Apr 2019 12:07:41 -0500 Subject: [PATCH] Remove unused method --- stdlib/sql.go | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/stdlib/sql.go b/stdlib/sql.go index 317d7af4..d4815d83 100644 --- a/stdlib/sql.go +++ b/stdlib/sql.go @@ -257,21 +257,6 @@ func (c *Conn) QueryContext(ctx context.Context, query string, argsV []driver.Na } -func (c *Conn) queryPrepared(name string, argsV []driver.Value) (driver.Rows, error) { - if !c.conn.IsAlive() { - return nil, driver.ErrBadConn - } - - args := valueToInterface(argsV) - - rows, err := c.conn.Query(context.Background(), name, args...) - if err != nil { - return nil, err - } - - return &Rows{rows: rows}, nil -} - func (c *Conn) queryPreparedContext(ctx context.Context, name string, argsV []driver.NamedValue) (driver.Rows, error) { if !c.conn.IsAlive() { return nil, driver.ErrBadConn