fix #441
This commit is contained in:
parent
fd64353f41
commit
db1b37eaa3
2 changed files with 8 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
# Changes
|
||||
|
||||
* 2.4.next in progress
|
||||
* Fix [#441](https://github.com/seancorfield/honeysql/issues/441) by adding `:replace-into` to in-flight clause order (as well as registering it for the `:mysql` dialect).
|
||||
|
||||
* 2.4.947 -- 2022-11-05
|
||||
* Fix [#439](https://github.com/seancorfield/honeysql/issues/439) by rewriting how DDL options are processed; also fixes [#386](https://github.com/seancorfield/honeysql/issues/386) and [#437](https://github.com/seancorfield/honeysql/issues/437); **Whilst this is intended to be purely a bug fix, it has the potential to be a breaking change -- hence the version jump to 2.4!**
|
||||
* Fix [#438](https://github.com/seancorfield/honeysql/issues/438) by
|
||||
|
|
|
|||
|
|
@ -106,8 +106,12 @@
|
|||
:mysql {:quote #(strop \` % \`)
|
||||
:clause-order-fn
|
||||
#(do
|
||||
;; side-effect: updates global clauses...
|
||||
(register-clause! :replace-into :insert-into :insert-into)
|
||||
(add-clause-before % :set :where))}
|
||||
(-> %
|
||||
(add-clause-before :set :where)
|
||||
;; ...but not in-flight clauses:
|
||||
(add-clause-before :replace-into :insert-into)))}
|
||||
:oracle {:quote #(strop \" % \") :as false}})))
|
||||
|
||||
; should become defonce
|
||||
|
|
|
|||
Loading…
Reference in a new issue