]> git.eshelyaron.com Git - emacs.git/commit
Quote identifiers in SQL queries in 'sqlite-mode'
authorVladimir Panteleev <git@cy.md>
Wed, 15 Jan 2025 18:33:23 +0000 (18:33 +0000)
committerEshel Yaron <me@eshelyaron.com>
Sat, 25 Jan 2025 17:46:41 +0000 (18:46 +0100)
commit5a1f915925520a1c461d01504a1f5135320ffd1d
treec1164134c969d052aa12efb6be9bb27a71cd2b12
parent96a2d8d4dcffb5b69e4fbc46f2841b8b5d39ce91
Quote identifiers in SQL queries in 'sqlite-mode'

* lisp/sqlite-mode.el: (sqlite-mode-list-tables)
(sqlite-mode-list-columns, sqlite--mode--list-data)
(sqlite-mode-delete): Quote identifiers (table and column
names) in the SQL queries.  Fixes, e.g., opening databases
which have a table called "values".  (Bug#75598)

(cherry picked from commit 5e0fc49f3b14928f08eb314b15f70ccbb2ce7229)
lisp/sqlite-mode.el