emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/emacsql ce05c8b2e2 305/427: Fix MySQL quoting.


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql ce05c8b2e2 305/427: Fix MySQL quoting.
Date: Tue, 13 Dec 2022 02:59:53 -0500 (EST)

branch: elpa/emacsql
commit ce05c8b2e210cf51ea8ea9e2693f9519e9679782
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>

    Fix MySQL quoting.
---
 emacsql-mysql.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/emacsql-mysql.el b/emacsql-mysql.el
index 32d1248a21..73117ae418 100644
--- a/emacsql-mysql.el
+++ b/emacsql-mysql.el
@@ -75,7 +75,8 @@ http://dev.mysql.com/doc/refman/5.5/en/reserved-words.html";)
       (setf (process-sentinel process)
             (lambda (proc _) (kill-buffer (process-buffer proc))))
       (when debug (emacsql-enable-debugging connection))
-      (emacsql connection [:set-session (= sql-mode 'NO_BACKSLASH_ESCAPES)])
+      (emacsql connection
+               [:set-session (= sql-mode 'NO_BACKSLASH_ESCAPES\,ANSI_QUOTES)])
       (emacsql-register connection))))
 
 (defmethod emacsql-close ((connection emacsql-mysql-connection))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]