Skip to content

Commit 67986a7

Browse files
authored
chore: remove debug code (mattn#788)
1 parent 9bdaffc commit 67986a7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sqlite3_trace.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ func addTraceMapping(connHandle uintptr, traceConf TraceConfig) {
215215
traceConf, connHandle, oldEntryCopy.config))
216216
}
217217
traceMap[connHandle] = traceMapEntry{config: traceConf}
218-
fmt.Printf("Added trace config %v: handle 0x%x.\n", traceConf, connHandle)
219218
}
220219

221220
func lookupTraceMapping(connHandle uintptr) (TraceConfig, bool) {
@@ -234,7 +233,6 @@ func popTraceMapping(connHandle uintptr) (TraceConfig, bool) {
234233
entryCopy, found := traceMap[connHandle]
235234
if found {
236235
delete(traceMap, connHandle)
237-
fmt.Printf("Pop handle 0x%x: deleted trace config %v.\n", connHandle, entryCopy.config)
238236
}
239237
return entryCopy.config, found
240238
}

0 commit comments

Comments
 (0)