lib/database: reduce try block scope to things that really need it
authorJani Nikula <jani@nikula.org>
Sat, 17 Dec 2016 16:26:54 +0000 (18:26 +0200)
committerDavid Bremner <david@tethera.net>
Fri, 10 Mar 2017 13:21:05 +0000 (09:21 -0400)
commitd56a801b6743971ff7f42404fe159260937405a1
tree891ed2b9a1cca302a5e03d6ddb9659ece6d4371e
parentd6a735423b94fb1ad8c6c59fe3efde42aa8020cb
lib/database: reduce try block scope to things that really need it

No need to maintain the pure C stuff within a try block, it's arguably
confusing. This also reduces indent for a bunch of code. No functional
changes.
lib/database.cc