services/scribe/db/datastore/sql/mysql/store.go
Function NewMysqlStore
has 5 return statements (exceeds 4 allowed). Open
Open
func NewMysqlStore(parentCtx context.Context, dbURL string, handler metrics.Handler, skipMigrations bool) (_ *Store, err error) {
logger.Debug("creating mysql store")
scribeLogger.ReportScribeState(0, 0, nil, scribeLogger.CreatingSQLStore)
ctx, span := handler.Tracer().Start(parentCtx, "start-mysql")
defer func() {