database/sql: fix accumulation of bad conns on prepared statements

Fixes an issue where prepared statements that outlive many
connections become expensive to invoke.

Fixes #6081

R=golang-dev
CC=bradfitz, golang-dev
https://golang.org/cl/12646044
This commit is contained in:
Matt Joiner 2013-08-14 09:27:30 -07:00 committed by Brad Fitzpatrick
parent e0ca536f36
commit 13c7896fb6
2 changed files with 4 additions and 4 deletions

View file

@ -1112,7 +1112,6 @@ func manyConcurrentQueries(t testOrBench) {
}
func TestIssue6081(t *testing.T) {
t.Skip("known broken test")
db := newTestDB(t, "people")
defer closeDB(t, db)