Skip to content

Commit c984bd6

Browse files
authored
Fixing Release Handle (#204)
Changed usedByStmt to usedByRows, to solve direct queries release handle problem #203 and #145
1 parent bcd92b8 commit c984bd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func (c *Conn) Query(query string, args []driver.Value) (driver.Rows, error) {
7575
os = &ODBCStmt{
7676
h: h,
7777
Parameters: ps,
78-
usedByStmt: true}
78+
usedByRows: true}
7979
err = os.BindColumns()
8080
if err != nil {
8181
return nil, err

0 commit comments

Comments
 (0)