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 {
|
if err != nil {
|
||||||
return errRow{err: err}
|
return errRow{err: err}
|
||||||
}
|
}
|
||||||
defer c.Release()
|
|
||||||
|
|
||||||
row := c.QueryRow(ctx, sql, args...)
|
row := c.QueryRow(ctx, sql, args...)
|
||||||
return c.getPoolRow(row)
|
return c.getPoolRow(row)
|
||||||
|
|||||||
Reference in New Issue
Block a user