Skip to content

Commit

Permalink
Merge pull request #60 from Songmu/fix-stmt-assignment
Browse files Browse the repository at this point in the history
remove unintended shadowing assignment
  • Loading branch information
shogo82148 committed Jan 8, 2021
2 parents cf38712 + 0e4880b commit de14c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func (conn *Conn) QueryContext(c context.Context, query string, args []driver.Na
var rows driver.Rows
hooks := conn.Proxy.getHooks(c)
if hooks != nil {
stmt := &Stmt{
stmt = &Stmt{
QueryString: query,
Proxy: conn.Proxy,
Conn: conn,
Expand Down

0 comments on commit de14c4e

Please sign in to comment.