Skip to content
Browse files

Fix JDBC-23 by removing unneeded / incorrect params setup

  • Loading branch information...
1 parent abcb995 commit 5e3be6618440689a91ac734832d048709b7c4daf @seancorfield seancorfield committed Nov 21, 2011
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/main/clojure/clojure/java/jdbc/internal.clj
View
1 src/main/clojure/clojure/java/jdbc/internal.clj
@@ -382,7 +382,6 @@
params (vec (cond sql-is-first (rest sql-params)
options-are-first (rest (rest sql-params))
:else (rest sql-params)))
- params (vec (if sql-is-first (rest sql-params) (rest (rest sql-params))))
prepare-args (when (map? special) (flatten (seq special)))]
(with-open [^PreparedStatement stmt (if (instance? PreparedStatement special) special (apply prepare-statement* (connection*) sql prepare-args))]
(set-parameters stmt params)

0 comments on commit 5e3be66

Please sign in to comment.
Something went wrong with that request. Please try again.