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

Method Begin

connection.go:138–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136}
137
138func (mc *mysqlConn) Begin() (driver.Tx, error) {
139 return mc.begin(false)
140}
141
142func (mc *mysqlConn) begin(readOnly bool) (driver.Tx, error) {
143 if mc.closed.Load() {

Callers 2

TestConcurrentFunction · 0.80

Calls 1

beginMethod · 0.95

Tested by 2

TestConcurrentFunction · 0.64