feat(db): Add lock on savepoint (refs #5206, #5208)
Merge pull request #1391 from Eric-Brison/3.2-I5273

feat(db): Add lock on savepoint (fixes #5206, #5208)