remove query row connection release
This commit is contained in:
committed by
Jack Christensen
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)
|
||||
|
||||
Reference in New Issue
Block a user