mirror of
https://github.com/SOCI/soci.git
synced 2026-02-06 05:39:41 -06:00
Also use soci_scoped_lock to ensure that the mutex is always unlocked. This simplifies the code and fixes a couple of potential bugs where the resources were not cleaned up properly if an exception happened.