Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Commit

Permalink
Queue compiles (no tests yet) - for #186
Browse files Browse the repository at this point in the history
  • Loading branch information
tgulacsi committed Jul 31, 2019
1 parent 3023a79 commit 11120f7
Show file tree
Hide file tree
Showing 3 changed files with 431 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ func (c *conn) init() error {
return errors.Wrap(err, qry)
}
defer st.Close()
rows, err := st.Query([]driver.Value{}) //nolint:staticcheck
rows, err := st.Query([]driver.Value{}) //lint:ignore SA1019 difficult
if err != nil {
if Log != nil {
Log("qry", qry, "error", err)
Expand Down
2 changes: 1 addition & 1 deletion drv_10.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func NewSessionIniter(m map[string]string) func(driver.Conn) error {
if err != nil {
return errors.Wrap(err, qry)
}
_, err = st.Exec(nil) //nolint:staticcheck
_, err = st.Exec(nil) //lint:ignore SA1019 difficult
st.Close()
if err != nil {
return err
Expand Down
Loading

0 comments on commit 11120f7

Please sign in to comment.