Note: broken transaction machinery
After removing records and relying entirely on protocols, transaction handling is broken because you can't `assoc` into a non-map.
This commit is contained in:
parent
a5027066f9
commit
73a7b2af10
1 changed files with 1 additions and 0 deletions
|
|
@ -93,6 +93,7 @@
|
|||
;; should check isolation level; maybe implement save points?
|
||||
(f con)
|
||||
(with-open [^AutoCloseable t-con (assoc (get-connection con)
|
||||
;; FIXME: not a record/map!
|
||||
:transacted (atom committable?))]
|
||||
(let [^Connection jdbc t-con
|
||||
old-autocommit (.getAutoCommit jdbc)
|
||||
|
|
|
|||
Loading…
Reference in a new issue