From unknown Tue Jun 17 01:37:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#77088 <77088@debbugs.gnu.org> To: bug#77088 <77088@debbugs.gnu.org> Subject: Status: 31.0.50: sql-mode: MariaDB and Mysql both handle escaped apostrophes in the same way. Reply-To: bug#77088 <77088@debbugs.gnu.org> Date: Tue, 17 Jun 2025 08:37:46 +0000 retitle 77088 31.0.50: sql-mode: MariaDB and Mysql both handle escaped apos= trophes in the same way. reassign 77088 emacs submitter 77088 Vincenzo Pupillo severity 77088 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 17 17:53:31 2025 Received: (at submit) by debbugs.gnu.org; 17 Mar 2025 21:53:31 +0000 Received: from localhost ([127.0.0.1]:33110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuIOo-0007WP-4I for submit@debbugs.gnu.org; Mon, 17 Mar 2025 17:53:30 -0400 Received: from lists.gnu.org ([2001:470:142::17]:60852) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tuIOl-0007Vi-M0 for submit@debbugs.gnu.org; Mon, 17 Mar 2025 17:53:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tuIOf-00088W-VA for bug-gnu-emacs@gnu.org; Mon, 17 Mar 2025 17:53:21 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tuIOe-0005VT-Bm for bug-gnu-emacs@gnu.org; Mon, 17 Mar 2025 17:53:21 -0400 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3913fdd003bso2445244f8f.1 for ; Mon, 17 Mar 2025 14:53:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742248399; x=1742853199; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=ATAGcUG9LGWs3xfKAaty5FtL3M/tKCDhUDHuCAhyVQg=; b=BKD4kzX/LbMHbjI/foci+HXATUBW4LgxSM162FmUNFKwvwF0cFhxr1PbZQiYVhK//v vt4EPFrKTxxCKI1ZzPvYLmW20FVHMFSfVezQ9/MBlmLBmAgs0VEI79wA1wK+lXfUbWM1 X/0pWdyA9MpWCYlou8XOdN1VKS0k/yGE07E+tEzc/5qByE3v6e+8omETo83JyWilDnOW CyyS1hoHCFZhB2dGtvzFlXlW3OXwI0RVRL+ZJhE32LOfz+7jBcHdBIZxGvNeyS6+hRAn spfG51Fr7+ZeuQ++v+QIXwBAybh9LOtkjTv90oUwwEQ0La2xTbTqN7B8dBOTq/Zhq+2l 4qew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742248399; x=1742853199; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ATAGcUG9LGWs3xfKAaty5FtL3M/tKCDhUDHuCAhyVQg=; b=IoBK8CuuUkYnYtTa6dGhHpoxRIg+W1Dr8hbhC8pSdFCEG9iNOqHzF15sMNQKJo97qV /3n2w+kguyeFOR5AyM01sZ529TGt9SAIfQl8HISdJluOAXCtDs6uUuB6mpxEiKJ+mxdN yIxdTBetZf1cspHczzeTlhzLqshDsE9MCtVwTWXX2DTEmv/aJGgjsU8g1njogM6aT52G B9ggPzHSQI9G0xwv7uEu04IcJvIgPDt7gNIe5kcGoSXykC6ka35ljEZ8AxNaujSMgsZ5 Odvm5AcoEOcjaBJRf2sfXjNS6X1igLDoZTYDZglIcnIfwb34owRQVtmVgszXh6XlZgq/ yEKQ== X-Gm-Message-State: AOJu0YzcMfBBv/9i+7UDxwZmt9v3syxS/KmDF8OOZuKc9CFUovKzPJ0o SzMCL/Us8T4tTAYUuTgrGaPnWcBBQ3xX9FNzi6c0F7eu4WoarUR2aWoL5w== X-Gm-Gg: ASbGncvCgrs52ABFiTq+LYQBs7Hp0RCyK7+UWeOGFwfpBvccoXi28oYFk7YNMEbejae jHtPIlIY+Netn2wrOaW8jYiUN/kZuaVwPckQKdRUAcwZljWn464AyC9vQV0XtIb0b1yHCfTeLhg wPm+Kd2CvszmMbkVNv0tZzZQwHyeImWDdbwrfRgzApSMc5I8iWqiBLyJ+z428KdV/o+tEINUpRV rngKnKTAreBqF58fedXfTCgeceHShJhMaHD0SuT61qcfzXwIcMeJynF09S9HDtIQtDpfIckk81D ZuY3rN/FA3TiqoXvJEgiCl1R+HamVbi9G+NivDQfeg2MxJjlD/qlyKHZ6vRMr/CvDbwvnTGOaZW +gPzbjNrV X-Google-Smtp-Source: AGHT+IE2ksgrMGzwEDttGvK8/l5U0osJ83x1jPSKzNrm1FGdvOGfKhB+H8ylbE/s42O7X8Gz0LPrJw== X-Received: by 2002:a05:6000:4007:b0:390:dec3:2780 with SMTP id ffacd0b85a97d-3996bb4f65bmr1011733f8f.24.1742248398373; Mon, 17 Mar 2025 14:53:18 -0700 (PDT) Received: from fedora.localnet (2-230-139-124.ip202.fastwebnet.it. [2.230.139.124]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395c83b6a1csm15864177f8f.28.2025.03.17.14.53.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Mar 2025 14:53:17 -0700 (PDT) From: Vincenzo Pupillo To: bug-gnu-emacs@gnu.org Subject: 31.0.50: sql-mode: MariaDB and Mysql both handle escaped apostrophes in the same way. Date: Mon, 17 Mar 2025 22:53:17 +0100 Message-ID: <4970097.OV4Wx5bFTl@fedora> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart26838371.1r3eYUQgxm" Content-Transfer-Encoding: 7Bit Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=v.pupillo@gmail.com; helo=mail-wr1-x434.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This is a multi-part message in MIME format. --nextPart26838371.1r3eYUQgxm Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Ciao, This patch fixes the way apostrophes are escaped in MariaDB product. Thanks. Vincenzo --nextPart26838371.1r3eYUQgxm Content-Disposition: attachment; filename="0001-MariaDB-and-Mysql-handle-escaped-aphostrophes-in-the.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="0001-MariaDB-and-Mysql-handle-escaped-aphostrophes-in-the.patch" >From d476df25bc5a75db984e714c2cc3477454d72368 Mon Sep 17 00:00:00 2001 From: Vincenzo Pupillo Date: Mon, 17 Mar 2025 22:35:23 +0100 Subject: [PATCH] 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. --- lisp/progmodes/sql.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index a1c50a06990..58fbf3c51e7 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el @@ -4164,7 +4164,7 @@ sql-mode (eval '(syntax-propertize-rules ;; Handle escaped apostrophes within strings. - ((if (eq sql-product 'mysql) + ((if (member sql-product '(mysql mariadb)) "\\\\'" "''") (0 -- 2.48.1 --nextPart26838371.1r3eYUQgxm-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 20 08:49:33 2025 Received: (at 77088-done) by debbugs.gnu.org; 20 Mar 2025 12:49:33 +0000 Received: from localhost ([127.0.0.1]:56048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tvFL3-0004MK-Aa for submit@debbugs.gnu.org; Thu, 20 Mar 2025 08:49:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54016) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tvFKy-0004Lw-LY for 77088-done@debbugs.gnu.org; Thu, 20 Mar 2025 08:49:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tvFKq-0006iH-1N; Thu, 20 Mar 2025 08:49:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=tj/Jwc+In/adNeNYyj/saCHNvKcpWsXerDnMesgICQ4=; b=kJTSeyCEgT5p rHnFITFOm5u1C5HbH9nDem9Tr5AJhmYefOMvBnQw+fxK+dChUkKFoz23DJqP049Haqot50aztfWnk HA8+j2qbX2LfvU+aM+Yza9Ak3zs3lX9EXG9XsqfQG98TV78ca8YKMFT0n90WypJjSDgn+JGV7DAsg g6QG6Hkrqb4ayBjd+8LmNAyws09Qj176h3LkLCOsnS/J5pXByhovhSg/yMtnGIkviwJUqh0cBOZDc gzOwOeKJysqAMrG2jYW3myYMUPTpV0DUbyqmkPUHtnAm+nUnyJChVeWf04FAlwyTn+Gj4JA8kTd/p YmOSPeOopmDYrDe78xCbZA==; Date: Thu, 20 Mar 2025 14:48:29 +0200 Message-Id: <86sen7na02.fsf@gnu.org> From: Eli Zaretskii To: Vincenzo Pupillo In-Reply-To: <4970097.OV4Wx5bFTl@fedora> (message from Vincenzo Pupillo on Mon, 17 Mar 2025 22:53:17 +0100) Subject: Re: bug#77088: 31.0.50: sql-mode: MariaDB and Mysql both handle escaped apostrophes in the same way. References: <4970097.OV4Wx5bFTl@fedora> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77088-done Cc: 77088-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Vincenzo Pupillo > Date: Mon, 17 Mar 2025 22:53:17 +0100 > > This patch fixes the way apostrophes are escaped in MariaDB product. > Thanks. Thanks, installed on the master branch, and closing the bug. From unknown Tue Jun 17 01:37:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 18 Apr 2025 11:24:27 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator