Mercurial > public > ssdt-docker
view scripts/clearlocks.sh @ 377:c1e8c755bce2 production
flow: Promoted <release> 'v2.11.0' (c6b2a1abecb8) to 'production'.
author | Marc Davis <davis@ssdt-ohio.org> |
---|---|
date | Fri, 10 Sep 2021 07:47:54 -0400 |
parents | fea886ba7279 |
children |
line wrap: on
line source
#!/bin/bash source "${SSDT_SCRIPTS:-$(dirname "${BASH_SOURCE[0]}")}/.functions.sh" if [ -z "$1" ] then echo "Usage: `basename $0` {db service}" echo " eg: clearlocks.sh usasdb" exit $E_NOARGS fi executeSQL "$1" "update databasechangeloglock set locked = false, lockgranted = null, lockedby = null where locked = true;"