branch: elpa/emacsql commit 462d1f1b31d8aab1eb9448802b7ed7563d36ac0a Author: Christopher Wellons <well...@nullprogram.com> Commit: Christopher Wellons <well...@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))