diff --git a/conn.go b/conn.go index eaa348f..12afce6 100644 --- a/conn.go +++ b/conn.go @@ -146,12 +146,6 @@ func (c *Conn) wrapQuery(ctx context.Context, os *ODBCStmt, dargs []driver.Value os.usedByRows = true rowsChan <- &Rows{os: os} - - // At the end of the execution, we check if the context has been cancelled - // to ensure the caller doesn't end up waiting for a message indefinitely (L119) - if ctx.Err() != nil { - errorChan <- ctx.Err() - } } // namedValueToValue is a utility function that converts a driver.NamedValue into a driver.Value.