Skip to content
This repository was archived by the owner on Apr 17, 2021. It is now read-only.

Commit 4e13b72

Browse files
Merge pull request #21 from shopsmart/trans_mgmt_and_helpers_002
Fix module references for new functions and increment version
2 parents 3956a7b + da53add commit 4e13b72

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject com.github.shopsmart/clj-infrastructure "0.1.15"
1+
(defproject com.github.shopsmart/clj-infrastructure "0.1.16"
22
:description "Infrastructure helpers for AWS, database, etc."
33
:url "https://github.com/shopsmart/clj-infrastructure"
44

src/clj_infrastructure/db.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@
662662
(merge
663663
{:stmt-text stmt-text
664664
:op-comment op-comment
665-
:exec-mode (or exec-mode dbc/DB_EXEC_MODE_QUERY)}
665+
:exec-mode (or exec-mode DB_EXEC_MODE_QUERY)}
666666
(when binds {:binds binds})
667667
(when commit? {:commit? commit?})
668668
(when opt-map {:opt-map opt-map}))]
@@ -692,8 +692,8 @@
692692
:op-comment \"Extract new or modified user details\" } ]
693693
"""
694694

695-
(dbc/dbconfig-connection conn-or-spec
696-
(jdbc/with-db-transaction [conn (dbc/dbconfig {} "connection")]
695+
(dbconfig-connection conn-or-spec
696+
(jdbc/with-db-transaction [conn (dbconfig {} "connection")]
697697
(doall
698698
(for [stmt-detail-map stmt-detail-vec]
699699
(run-statement conn stmt-detail-map))))))

0 commit comments

Comments
 (0)