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

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

[nongnu] elpa/emacsql 3c57f9a986 308/427: Adjust MySQL isolation level.


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql 3c57f9a986 308/427: Adjust MySQL isolation level.
Date: Tue, 13 Dec 2022 02:59:53 -0500 (EST)

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

    Adjust MySQL isolation level.
---
 emacsql-mysql.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/emacsql-mysql.el b/emacsql-mysql.el
index 73117ae418..b3549a2bd7 100644
--- a/emacsql-mysql.el
+++ b/emacsql-mysql.el
@@ -77,6 +77,8 @@ http://dev.mysql.com/doc/refman/5.5/en/reserved-words.html";)
       (when debug (emacsql-enable-debugging connection))
       (emacsql connection
                [:set-session (= sql-mode 'NO_BACKSLASH_ESCAPES\,ANSI_QUOTES)])
+      (emacsql connection
+               [:set-transaction-isolation-level :serializable])
       (emacsql-register connection))))
 
 (defmethod emacsql-close ((connection emacsql-mysql-connection))



reply via email to

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