Updates patch in accordance with daira's comments on 924c642
Tweaks comment's style on _open_db
Renames _mock_get_db to _call_get_db