MCPcopy
hub / github.com/go-sql-driver/mysql / close

Method close

connection.go:169–172  ·  view source on GitHub ↗

close closes the network connection and clear results without sending COM_QUIT.

()

Source from the content-addressed store, hash-verified

167
168// close closes the network connection and clear results without sending COM_QUIT.
169func (mc *mysqlConn) close() {
170 mc.cleanup()
171 mc.clearResult()
172}
173
174// Closes the network connection and unsets internal variables. Do not call this
175// function after successful authentication, call Close instead. This function

Callers 2

readPacketMethod · 0.95
CloseMethod · 0.95

Calls 2

cleanupMethod · 0.95
clearResultMethod · 0.95

Tested by

no test coverage detected