Merge pull request #182 from mike706574/develop

Fix typos in SQL log output
This commit is contained in:
Sean Corfield 2021-10-01 19:18:54 -07:00 committed by GitHub
commit b3f32dab8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@
(merge (:options this) opts))
(result-logger-helper this 'next.jdbc/execute-one! state))
(catch Throwable t
(result-logger-helper t this 'next.jdbc/execut-one! state)
(result-logger-helper t this 'next.jdbc/execute-one! state)
(throw t)))))
(-execute-all [this sql-params opts]
(let [state ((:sql-logger this) 'next.jdbc/execute! sql-params)]
@ -46,7 +46,7 @@
(merge (:options this) opts))
(result-logger-helper this 'next.jdbc/execute! state))
(catch Throwable t
(result-logger-helper t this 'next.jdbc/execut-one! state)
(result-logger-helper t this 'next.jdbc/execute! state)
(throw t))))))
(extend-protocol p/Preparable