Skip to content

Commit

Permalink
Add cancel to other functions
Browse files Browse the repository at this point in the history
Signed-off-by: Bagus Nurtomo <bagus.nurtomo@pm.me>
  • Loading branch information
BagusThanatos committed Jan 16, 2025
1 parent 9c0f9ba commit b49c048
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@
rs)
(catch Throwable e (handle-execution-error e))))
(setMaxRows [nb] (.setMaxRows stmt nb))
(close [] (.close stmt))))
(close [] (.close stmt))
(cancel [] (.cancel stmt))))

(defmethod sql-jdbc.execute/prepared-statement :starburst
[driver ^Connection conn ^String sql params]
Expand Down Expand Up @@ -295,7 +296,8 @@
(finally (remove-impersonation conn))))
(getResultSet [] (.getResultSet stmt))
(setMaxRows [nb] (.setMaxRows stmt nb))
(close [] (.close stmt)))))
(close [] (.close stmt))
(cancel [] (.cancel stmt)))))

;;; +----------------------------------------------------------------------------------------------------------------+
;;; | Prepared Statement Substitutions |
Expand Down

0 comments on commit b49c048

Please sign in to comment.