Make unlocking an already unlocked database a no-op, rather than failing an assert and dumping core.
Make unlocking an already unlocked database a no-op, rather than
failing an assert and dumping core.

skoef/pkg,Open343/pkg,en90/pkg,skoef/pkg,khorben/pkg,khorben/pkg,Open343/pkg,khorben/pkg,junovitch/pkg,junovitch/pkg,en90/pkg