Skip to content

Commit

Permalink
Merge af37215 into 433b4a0
Browse files Browse the repository at this point in the history
  • Loading branch information
Fiery-Fenix authored Jun 25, 2020
2 parents 433b4a0 + af37215 commit 89cc608
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 @@ -286,7 +286,7 @@ func (c *conn) buildRequest(ctx context.Context, query string, params []driver.V
method string
err error
)
if params != nil {
if params != nil && len(params) > 0 {
if query, err = interpolateParams(query, params); err != nil {
return nil, err
}
Expand Down

0 comments on commit 89cc608

Please sign in to comment.