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

Method resetSequence

connection.go:88–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86}
87
88func (mc *mysqlConn) resetSequence() {
89 mc.sequence = 0
90 mc.compressSequence = 0
91}
92
93// syncSequence must be called when finished writing some packet and before start reading.
94func (mc *mysqlConn) syncSequence() {

Callers 6

writeCommandPacketMethod · 0.95
writeCommandPacketStrMethod · 0.95
writeCommandLongDataMethod · 0.80
writeExecutePacketMethod · 0.80
TestRoundtripFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestRoundtripFunction · 0.64