From 481284e127b390661ba73116392e86c6d249d15d Mon Sep 17 00:00:00 2001 From: gered Date: Sat, 21 May 2016 16:38:22 -0400 Subject: [PATCH] minor cleanup --- src/views/honeysql/core.clj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/honeysql/core.clj b/src/views/honeysql/core.clj index 3f9c282..8e0a241 100644 --- a/src/views/honeysql/core.clj +++ b/src/views/honeysql/core.clj @@ -11,7 +11,9 @@ (defmacro with-view-transaction "Like jdbc's with-db-transaction, but sends view hints at end of transaction." [binding & forms] - (let [tvar (first binding), db (second binding), args (drop 2 binding)] + (let [tvar (first binding) + db (second binding) + args (drop 2 binding)] `(if (:views-honeysql/hints ~db) ;; check if we are in a nested transaction (let [~tvar ~db] ~@forms) (let [hints# (atom [])