; Fix minor issues in SQLite docs

* doc/lispref/text.texi (Database): Update description of
'sqlite-close'.  (Bug#80908)
* etc/NEWS: Fix SQLite entries.
This commit is contained in:
Eli Zaretskii 2026-04-27 13:57:06 +03:00
parent 5cee4fa0ff
commit f293becdd6
2 changed files with 5 additions and 1 deletions

View file

@ -5438,7 +5438,9 @@ database object. The database object returned by the
@defun sqlite-close db
Close the database @var{db}. It's usually not necessary to call this
function explicitly---the database will automatically be closed if
Emacs shuts down or the database object is garbage collected.
Emacs shuts down or the database object is garbage collected. If the
connection identified by @var{db} is already closed, this function does
nothing.
@end defun
@defun sqlite-execute db statement &optional values

View file

@ -3599,12 +3599,14 @@ provide more accurate warnings from byte compilation.
The new optional argument READONLY to 'sqlite-open' function allows to
open an existing database only for reading.
+++
*** 'sqlite-open' now recognizes 'file://' URIs as well as file names.
The 'file://' URIs are supported by default. In the unusual case that a
normal file name starts with "file:", you can disable the URI
recognition by invoking 'sqlite-open' with the new optional argument
DISABLE-URI non-nil.
+++
*** 'sqlite-close' now does nothing if the connection is already closed.
** GUD