Skip to content

Commit

Permalink
Adjust for and depend on EmacSQL v4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Dec 1, 2024
1 parent 8f99eac commit 28cfc8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# -*- mode: org -*-
* v2.1.0 UNRELEASED

- Adjusted to take advantage of EmacSQL v4.1.0.

* v2.0.0 2024-08-08

- Dropped support for Emacs 25. 22f67f5
Expand Down
7 changes: 2 additions & 5 deletions closql.el
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
;; Package-Requires: (
;; (emacs "26.1")
;; (compat "30.0.0.0")
;; (emacsql "4.0.0"))
;; (emacsql "4.1.0"))

;; SPDX-License-Identifier: GPL-3.0-or-later

Expand Down Expand Up @@ -41,7 +41,7 @@
(require 'eieio)
(require 'eieio-base)
(require 'emacsql)
(require 'emacsql-sqlite-common)
(require 'emacsql-sqlite)

(eval-when-compile (require 'subr-x))

Expand Down Expand Up @@ -315,9 +315,6 @@
(conn (make-instance connection-class :file file))
(db (make-instance class))) ; ignores slot arguments
(oset db connection conn)
(when (and (slot-boundp conn 'handle)
(processp (oref conn handle)))
(set-process-query-on-exit-flag (oref conn handle) nil))
(emacsql conn [:pragma (= foreign-keys on)])
(if (not (emacsql-sqlite-list-tables db))
(closql--db-create-schema db)
Expand Down

0 comments on commit 28cfc8d

Please sign in to comment.