mirror of
https://github.com/golang/go
synced 2024-11-24 02:10:11 -07:00
database/sql: remove commented debug prints
This commit is contained in:
parent
ee76992200
commit
4dd0ec162d
@ -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…
Reference in New Issue
Block a user