MariaDB and Mysql handle escaped aphostrophes in the same way

* lisp/progmodes/sql.el (sql-mode): MariaDB and Mysql both
handle escaped apostrophes in the same way.  (Bug#77088)
This commit is contained in:
Vincenzo Pupillo 2025-03-17 22:35:23 +01:00 committed by Eli Zaretskii
parent e53b90a5ce
commit cace07f27d

View file

@ -4164,7 +4164,7 @@ must tell Emacs. Here's how to do that in your init file:
(eval
'(syntax-propertize-rules
;; Handle escaped apostrophes within strings.
((if (eq sql-product 'mysql)
((if (member sql-product '(mysql mariadb))
"\\\\'"
"''")
(0