MCPcopy Create free account
hub / github.com/actiontech/dtle / ShowMasterStatus

Function ShowMasterStatus

driver/mysql/sql/sqlutils.go:257–259  ·  view source on GitHub ↗
(db QueryAble)

Source from the content-addressed store, hash-verified

255}
256
257func ShowMasterStatus(db QueryAble) *gosql.Row {
258 return db.QueryRowContext(context.TODO(), "show master status /*dtle*/")
259}
260
261// queryResultData returns a raw array of rows for a given query, optionally reading and returning column names
262func queryResultData(db *gosql.DB, query string, retrieveColumns bool, args ...interface{}) (ResultData, []string, error) {

Callers 1

mysqlDumpMethod · 0.92

Calls 1

QueryRowContextMethod · 0.80

Tested by

no test coverage detected