query: bind queries to database objects
authorFelipe Contreras <felipe.contreras@gmail.com>
Mon, 30 Sep 2013 16:04:21 +0000 (11:04 -0500)
committerFelipe Contreras <felipe.contreras@gmail.com>
Sat, 2 Nov 2013 13:20:01 +0000 (07:20 -0600)
commitfd733a4f5c41948b895e37daf9bc0912f695ae59
tree4892ace1eacdde462d844f76394fa5ad1ed6ea55
parent1eecfbd51a8ada5d7cecee6a10912b6f075483be
query: bind queries to database objects

The queries don't really work after a database is closed, and we would
like them to be freed if the database is destroyed.

Acknowledged-by: David Bremner <david@tethera.net>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
lib/query.cc