mirror of https://github.com/jackc/pgx.git
remove query row connection release
parent
c9e271df29
commit
5320ad87c8
|
@ -458,7 +458,6 @@ func (p *Pool) QueryRow(ctx context.Context, sql string, args ...interface{}) pg
|
|||
if err != nil {
|
||||
return errRow{err: err}
|
||||
}
|
||||
defer c.Release()
|
||||
|
||||
row := c.QueryRow(ctx, sql, args...)
|
||||
return c.getPoolRow(row)
|
||||
|
|
Loading…
Reference in New Issue