(db QueryAble)
| 247 | } |
| 248 | |
| 249 | func GetServerUUID(db QueryAble) (result string, err error) { |
| 250 | err = db.QueryRowContext(context.TODO(), `SELECT @@SERVER_UUID /*dtle*/`).Scan(&result) |
| 251 | if err != nil { |
| 252 | return "", err |
| 253 | } |
| 254 | return result, nil |
| 255 | } |
| 256 | |
| 257 | func ShowMasterStatus(db QueryAble) *gosql.Row { |
| 258 | return db.QueryRowContext(context.TODO(), "show master status /*dtle*/") |
no test coverage detected