Fixes #128 by adding a test
This commit is contained in:
parent
65296ee4ad
commit
d443c28817
2 changed files with 7 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ Only accretive/fixative changes will be made from now on.
|
|||
|
||||
Changes made on **develop** since the 1.1.547 release:
|
||||
* Fix #130 by implementing `clojure.lang.ILookup` on the three builder adapters.
|
||||
* Fix #128 by adding a test for the "not found" arity of lookup on mapified result sets.
|
||||
* Correct MySQL batch statement rewrite tip: it's `:rewriteBatchedStatements true` (plural). Also surface the batch statement tips in the **Tips & Tricks** page.
|
||||
* Clarify how combining is interleaving with reducing in **Reducing and Folding with `plan`**.
|
||||
* Use "JDBC URL" consistently everywhere (instead of "JDBC URI" in several places).
|
||||
|
|
|
|||
|
|
@ -29,6 +29,12 @@
|
|||
(testing "plan"
|
||||
(is (= "Apple"
|
||||
(reduce (fn [_ row] (reduced (:name row)))
|
||||
nil
|
||||
(jdbc/plan
|
||||
ds-opts
|
||||
["select * from fruit where appearance = ?" "red"]))))
|
||||
(is (= "Banana"
|
||||
(reduce (fn [_ row] (reduced (:no-such-column row "Banana")))
|
||||
nil
|
||||
(jdbc/plan
|
||||
ds-opts
|
||||
|
|
|
|||
Loading…
Reference in a new issue