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

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

[nongnu] elpa/emacsql 462d1f1b31 252/427: Fix stupid backslash escape mo


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql 462d1f1b31 252/427: Fix stupid backslash escape mode in MySQL.
Date: Tue, 13 Dec 2022 02:59:49 -0500 (EST)

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

    Fix stupid backslash escape mode in MySQL.
    
    This makes MySQL pass all the unit tests.
---
 emacsql-mysql.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/emacsql-mysql.el b/emacsql-mysql.el
index 89e51797b7..0e546d59d1 100644
--- a/emacsql-mysql.el
+++ b/emacsql-mysql.el
@@ -35,6 +35,7 @@
                                     :dbname dbname)))
     (setf (process-sentinel process)
           (lambda (proc _) (kill-buffer (process-buffer proc))))
+    (emacsql connection [:set-session (= sql-mode 'NO_BACKSLASH_ESCAPES)])
     (emacsql-register connection)))
 
 (defmethod emacsql-close ((connection emacsql-mysql-connection))



reply via email to

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