mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
database/sql: remove commented debug prints
Fixes #28234
Change-Id: I89090ffb8285c4936b0c9b5c2475849c0643186a
GitHub-Last-Rev: 4dd0ec162d
GitHub-Pull-Request: golang/go#28246
Reviewed-on: https://go-review.googlesource.com/c/142877
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
398b54df56
commit
830f424c9b
1 changed files with 0 additions and 2 deletions
|
|
@ -567,7 +567,6 @@ type finalCloser interface {
|
|||
// addDep notes that x now depends on dep, and x's finalClose won't be
|
||||
// called until all of x's dependencies are removed with removeDep.
|
||||
func (db *DB) addDep(x finalCloser, dep interface{}) {
|
||||
//println(fmt.Sprintf("addDep(%T %p, %T %p)", x, x, dep, dep))
|
||||
db.mu.Lock()
|
||||
defer db.mu.Unlock()
|
||||
db.addDepLocked(x, dep)
|
||||
|
|
@ -597,7 +596,6 @@ func (db *DB) removeDep(x finalCloser, dep interface{}) error {
|
|||
}
|
||||
|
||||
func (db *DB) removeDepLocked(x finalCloser, dep interface{}) func() error {
|
||||
//println(fmt.Sprintf("removeDep(%T %p, %T %p)", x, x, dep, dep))
|
||||
|
||||
xdep, ok := db.dep[x]
|
||||
if !ok {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue