From 656726d6f37a0841f8f0e3acb26d319bf2b74fee Mon Sep 17 00:00:00 2001 From: astaxie Date: Fri, 28 Apr 2017 20:42:02 +0800 Subject: [PATCH 1/2] args assigned and not used --- connection.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/connection.go b/connection.go index 08e5fadeb..cdce3e30f 100644 --- a/connection.go +++ b/connection.go @@ -272,7 +272,6 @@ func (mc *mysqlConn) Exec(query string, args []driver.Value) (driver.Result, err return nil, err } query = prepared - args = nil } mc.affectedRows = 0 mc.insertId = 0 @@ -330,7 +329,6 @@ func (mc *mysqlConn) Query(query string, args []driver.Value) (driver.Rows, erro return nil, err } query = prepared - args = nil } // Send command err := mc.writeCommandPacketStr(comQuery, query) From 6de8f26c6a09ec0efc156b9a09e930682328496a Mon Sep 17 00:00:00 2001 From: astaxie Date: Fri, 28 Apr 2017 21:41:15 +0800 Subject: [PATCH 2/2] add to AUTHORS --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index 48d04eb52..9e24f7aa8 100644 --- a/AUTHORS +++ b/AUTHORS @@ -13,6 +13,7 @@ Aaron Hopkins Arne Hormann +Asta Xie Carlos Nieto Chris Moos Daniel Nichter