korma/Korma — pull request #88 by mccraigmccraig (2012-09-12 22:45:06+00:00)
Title: use connections opened elsewhere (aka: do-query calls get-connection unnecessarily)

if there is an open connection, as found by (jdbc/find-connection), do-query was calling get-connection and then ignoring the results in favour of the already open connection

this patch avoids calling get-connection when there is an already open connection, which permits a connection to be opened outside of korma