From ce3c76408ede886eb2f005e2d3eaa2ca49c06797 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Mon, 14 Jul 2014 07:55:20 -0500 Subject: [PATCH] Tx.QueryRow implemented in terms of Tx.Query --- tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tx.go b/tx.go index c5ddcf2c..9f148a4f 100644 --- a/tx.go +++ b/tx.go @@ -114,6 +114,6 @@ func (tx *Tx) Query(sql string, args ...interface{}) (*Rows, error) { // QueryRow delegates to the underlying *Conn func (tx *Tx) QueryRow(sql string, args ...interface{}) *Row { - rows, _ := tx.conn.Query(sql, args...) + rows, _ := tx.Query(sql, args...) return (*Row)(rows) }