diff options
author | A.N <gimpldo@gmail.com> | 2016-09-06 18:26:27 +0300 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2016-09-07 23:48:27 +0900 |
commit | 2b0a8971e38a6d045db40109f58ddd3cae03a29f (patch) | |
tree | 2ac2c06442b738b2586eb0765755d8f30a8859a5 | |
parent | TraceInfo: fix RunTimeNanosec retrieval, add AutoCommit (diff) | |
download | golite-2b0a8971e38a6d045db40109f58ddd3cae03a29f.tar.gz golite-2b0a8971e38a6d045db40109f58ddd3cae03a29f.tar.xz |
Remove obsolete comment
The implementation which caused it was abandoned before first commit.
-rw-r--r-- | tracecallback.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tracecallback.go b/tracecallback.go index 2091058..6291fe2 100644 --- a/tracecallback.go +++ b/tracecallback.go @@ -165,10 +165,6 @@ func traceCallbackTrampoline( info.StmtHandle = uintptr(p) case TraceClose: - // (conn == nil) is the *expected* state for the Close event: - // the driver's connection (the Go struct) must be closed - // before the underlying SQLite C API object, and very likely - // before the Close event is reported to this callback by SQLite. handle := uintptr(p) if handle != info.ConnHandle { panic(fmt.Sprintf("Different conn handle 0x%x (expected 0x%x) in SQLITE_TRACE_CLOSE event.", |