remove query row connection release

pull/1079/head
Rulin Tang 2021-08-23 18:49:36 +08:00 committed by Jack Christensen
parent c9e271df29
commit 5320ad87c8
1 changed files with 0 additions and 1 deletions

View File

@ -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)