Fixes #4527: don't commit on database on select