lib: move query variable to function scope
authorDavid Bremner <david@tethera.net>
Sun, 27 Sep 2015 15:31:55 +0000 (12:31 -0300)
committerDavid Bremner <david@tethera.net>
Mon, 5 Oct 2015 22:39:11 +0000 (19:39 -0300)
commit65a6b86873a471bb87d30a8617a87857103cd8b6
treee65ffd52109d7683f6efa794a23f0d66243cf23a
parent018e69f558c4ad36cefce42a11c2cdfe7270cb04
lib: move query variable to function scope

This is a prelude to deallocating it (if necessary) on the error path.
lib/database.cc