From unknown Sun Jun 22 11:49:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58756: sqlite-returning tests fails with older SQLite library versions Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Oct 2022 09:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58756 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 58756@debbugs.gnu.org Cc: Lars Ingebrigtsen X-Debbugs-Original-To: Emacs Bug Report Received: via spool by submit@debbugs.gnu.org id=B.166660501118923 (code B ref -1); Mon, 24 Oct 2022 09:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Oct 2022 09:50:11 +0000 Received: from localhost ([127.0.0.1]:47128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omu5y-0004v9-W0 for submit@debbugs.gnu.org; Mon, 24 Oct 2022 05:50:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:49200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omu5w-0004v0-Bo for submit@debbugs.gnu.org; Mon, 24 Oct 2022 05:50:09 -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 1omu5v-0003DH-QL for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2022 05:50:07 -0400 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omu5u-0004tC-6g for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2022 05:50:07 -0400 Received: by mail-lj1-x22b.google.com with SMTP id z24so2033511ljn.4 for ; Mon, 24 Oct 2022 02:50:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:cc:date:message-id:subject:mime-version:from:sender:from:to:cc :subject:date:message-id:reply-to; bh=vVtxp6TmG9aH3TTBWGEQQcATWr2E0RxQtDN6ndiakos=; b=TKJEBprFyrloeq9hVF6YvgS51FwTNskZUqf0Qx5ms2rdvqUksvpAxBtOpRbHkgZocN T1n85KqGyOHxWZbBC9xI+QCrNt6oXGZgPCqFpYD23/gIa5GMo89AVTSKQvwtEts8BV4S 5A2NqB0KBg7vArfHxw9c5RUzy1W7pIVmhFTkJMCRKiXThr2rgmH+02O+R9xczF7YOZAO RxLoxp36jrTb5YS9DnlaAgdugOKc+IksAFks7W4n+ywk5OQA1TTn7FhjulLG2ycqienR 7rKLHWtIgJJQzpoLsBdZ645gJXc7h0K4Vztq13gjSlMZXhrtpeMD+tOV7OTFaJoL7B/B jy8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:cc:date:message-id:subject:mime-version:from:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vVtxp6TmG9aH3TTBWGEQQcATWr2E0RxQtDN6ndiakos=; b=NOeScrJ9AYVCEm4kOQyqFNL6Eo14iXdcH9dh6vMcyezVVT85mRy7lxLf0lB1bcFibO EtT/y+TdNJQ09OS+sPp3vb1F/MXzfLZApHDM+X51dBuK3Q47RLVONs0H60Jlx5zGYgQ6 kHgdy2zDNONdsOIJNdf35tVEUcwyVdYYB9u3h5DOItaxVV1Lp3RMV7JpniedjpKCCg/7 h+5/ZVXRIt/MLP+4nzWH1ujp+7je0YJbYiNwoUemwxQka0yydjOKkT4hk68W6vF4zX9v BLBYLfOa3Sez/0OvDhunULupNKr88G8F2fhRgyChwaUMu0bv+t7Vn957PAuEhqDE7ZrF taMg== X-Gm-Message-State: ACrzQf2VSb3Au7L8u5caJt5UKL5QhYXoECS3OFlta/tSJHajVp0V5gey 8a7qg/w2kvp2PtMxGlQSYyZxUdNrLqo= X-Google-Smtp-Source: AMsMyM4wy3P1Ks/gC3wcLBvq+M+8AMX9Qyf1OEVLYqNE9BQqBk/zHvuhwmzI0vQmXzOOVsMc/D+gYQ== X-Received: by 2002:a2e:b0cf:0:b0:277:903:2d4c with SMTP id g15-20020a2eb0cf000000b0027709032d4cmr1954292ljl.64.1666605003776; Mon, 24 Oct 2022 02:50:03 -0700 (PDT) Received: from smtpclient.apple (c188-150-171-209.bredband.tele2.se. [188.150.171.209]) by smtp.gmail.com with ESMTPSA id w6-20020a05651234c600b00492e570e036sm4460947lfr.54.2022.10.24.02.50.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Oct 2022 02:50:03 -0700 (PDT) From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Content-Type: multipart/mixed; boundary="Apple-Mail=_4FAEE4CA-6F97-4BC3-9CBD-A7190CF85460" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Message-Id: <5574B0A6-E5B0-47AD-AC8A-34962043D35E@gmail.com> Date: Mon, 24 Oct 2022 11:50:00 +0200 X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=2a00:1450:4864:20::22b; envelope-from=mattias.engdegard@gmail.com; helo=mail-lj1-x22b.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.3 (-) 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: -2.3 (--) --Apple-Mail=_4FAEE4CA-6F97-4BC3-9CBD-A7190CF85460 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii The recently added sqlite-returning test fails when the SQLite library = does not implement RETURNING, added in 3.35. What about adding a Lisp function for retrieving the SQLite library = version? It can be used to skip this particular test but would also be = useful on its own. Proof-of-concept patch attached. --Apple-Mail=_4FAEE4CA-6F97-4BC3-9CBD-A7190CF85460 Content-Disposition: attachment; filename=sqlite-version.diff Content-Type: application/octet-stream; x-unix-mode=0644; name="sqlite-version.diff" Content-Transfer-Encoding: 7bit diff --git a/src/sqlite.c b/src/sqlite.c index 1526e344e5..761ddc8361 100644 --- a/src/sqlite.c +++ b/src/sqlite.c @@ -52,6 +52,7 @@ DEF_DLL_FN (SQLITE_API int, sqlite3_bind_null, (sqlite3_stmt*, int)); DEF_DLL_FN (SQLITE_API int, sqlite3_bind_int, (sqlite3_stmt*, int, int)); DEF_DLL_FN (SQLITE_API const char*, sqlite3_errmsg, (sqlite3*)); DEF_DLL_FN (SQLITE_API const char*, sqlite3_errstr, (int)); +DEF_DLL_FN (SQLITE_API const char*, sqlite3_libversion, (void)); DEF_DLL_FN (SQLITE_API int, sqlite3_step, (sqlite3_stmt*)); DEF_DLL_FN (SQLITE_API int, sqlite3_changes, (sqlite3*)); DEF_DLL_FN (SQLITE_API int, sqlite3_column_count, (sqlite3_stmt*)); @@ -90,6 +91,7 @@ DEF_DLL_FN (SQLITE_API int, sqlite3_load_extension, # undef sqlite3_bind_int # undef sqlite3_errmsg # undef sqlite3_errstr +# undef sqlite3_libversion # undef sqlite3_step # undef sqlite3_changes # undef sqlite3_column_count @@ -115,6 +117,7 @@ DEF_DLL_FN (SQLITE_API int, sqlite3_load_extension, # define sqlite3_bind_int fn_sqlite3_bind_int # define sqlite3_errmsg fn_sqlite3_errmsg # define sqlite3_errstr fn_sqlite3_errstr +# define sqlite3_libversion fn_sqlite3_libversion # define sqlite3_step fn_sqlite3_step # define sqlite3_changes fn_sqlite3_changes # define sqlite3_column_count fn_sqlite3_column_count @@ -143,6 +146,7 @@ load_dll_functions (HMODULE library) LOAD_DLL_FN (library, sqlite3_bind_int); LOAD_DLL_FN (library, sqlite3_errmsg); LOAD_DLL_FN (library, sqlite3_errstr); + LOAD_DLL_FN (library, sqlite3_libversion); LOAD_DLL_FN (library, sqlite3_step); LOAD_DLL_FN (library, sqlite3_changes); LOAD_DLL_FN (library, sqlite3_column_count); @@ -737,6 +741,15 @@ DEFUN ("sqlite-finalize", Fsqlite_finalize, Ssqlite_finalize, 1, 1, 0, return Qt; } +DEFUN ("sqlite-version", Fsqlite_version, Ssqlite_version, 0, 0, 0, + doc: /* SQLite library version string. */) + (void) +{ + if (!init_sqlite_functions ()) + error ("sqlite support is not available"); + return build_string (sqlite3_libversion ()); +} + #endif /* HAVE_SQLITE3 */ DEFUN ("sqlitep", Fsqlitep, Ssqlitep, 1, 1, 0, @@ -788,6 +801,7 @@ syms_of_sqlite (void) defsubr (&Ssqlite_columns); defsubr (&Ssqlite_more_p); defsubr (&Ssqlite_finalize); + defsubr (&Ssqlite_version); DEFSYM (Qset, "set"); DEFSYM (Qfull, "full"); #endif diff --git a/test/src/sqlite-tests.el b/test/src/sqlite-tests.el index be4f60ab57..e9ddf9c0be 100644 --- a/test/src/sqlite-tests.el +++ b/test/src/sqlite-tests.el @@ -243,6 +243,7 @@ sqlite-blob (ert-deftest sqlite-returning () (skip-unless (sqlite-available-p)) + (skip-unless (version<= "3.35" (sqlite-version))) (let (db) (progn (setq db (sqlite-open)) --Apple-Mail=_4FAEE4CA-6F97-4BC3-9CBD-A7190CF85460-- From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 12 15:45:15 2022 Received: (at control) by debbugs.gnu.org; 12 Nov 2022 20:45:15 +0000 Received: from localhost ([127.0.0.1]:49207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otxNK-0005n2-OE for submit@debbugs.gnu.org; Sat, 12 Nov 2022 15:45:14 -0500 Received: from mail-oa1-f48.google.com ([209.85.160.48]:35426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otxNJ-0005RE-KE for control@debbugs.gnu.org; Sat, 12 Nov 2022 15:45:14 -0500 Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-13b103a3e5dso8839083fac.2 for ; Sat, 12 Nov 2022 12:45:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=0PT9u26ynlvMVaOFtbDynG6SxO1MSK8d4MhEgEyWSA0=; b=L/yjBe3fTYjn4XEnSFVey81x46ShC1Y6Nb/EQlIthNNpYdl6xELc0LZMx1gkQCE3Ho Ci+44JeTozfLaCSJwLxuPfu9ts9IV7O/ULJpi0fFY24Pkc47PsdWMkrqDlkKH5p5Bl8T UJU+8AaHOrlFEtPtZoqGerjYXOj7wpaaa6rL4lqs8g04RD63gv/89UB5bzfbM34r0RwR ABYSF6Y6afD7sTuvIiahtcD+AW53oFd/r485w/4+L6QYBG18c5Lpq4OOpn0JP620547K PBHEBVIfaMmzjf6BdH5gZAsV8H3bYRw59uWyUhxpKP8n2KRh8DGNP8M7jKuExmUfVwpa i1FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0PT9u26ynlvMVaOFtbDynG6SxO1MSK8d4MhEgEyWSA0=; b=zj8zwhZWwFqM++qSloNMtNO6DdsBcsusbk2pIObdN2tChBCGUM8ZC+1EgfVBT9zuJt lEfzPn7hyhRzTovjW499GbJQ+jnhXmjiwmfUdkWnu4RECVEnG7pQGGUhxverda2hSReD D988pBqc66LQHCuvprvi90a3fETygLQjqPf/eqSqyawl1RAyXkiUp3RzPgnidXaS/QWD YEq972EORY23GsS7BmytZvM8zhtEnmLIBdwmU46jqTc4WGBbvI6ZKt3u27b6bbdd+4Py yeL9MDYI1G7/gj8X6EeXvISpprJRDhTvKEY6WfwX07DTwTDlfrRepw2GIcythqVbiXAO 9hTQ== X-Gm-Message-State: ANoB5pnGQeo/awfcSlDpg55AL0NnLSXvE76boZo2QeXW608f78Gp9pNK P650S9eIGR3GDtRnlN3nLIq0eL7H+AibpfVZSgu4g520 X-Google-Smtp-Source: AA0mqf6Dc8PubznuldT/wxZ5bmUAv/khoMwytEccHCkXHx2qsFttG9Ob9jBkJYEXAGdeNRqljlBUSJd9+RlBm5zjDSk= X-Received: by 2002:a05:6870:6c15:b0:13b:8a07:2a1f with SMTP id na21-20020a0568706c1500b0013b8a072a1fmr3974948oab.199.1668285908074; Sat, 12 Nov 2022 12:45:08 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 12 Nov 2022 12:45:07 -0800 From: Stefan Kangas X-Hashcash: 1:20:221112:control@debbugs.gnu.org::mgjloxyIEesA2oXU:LtLu MIME-Version: 1.0 Date: Sat, 12 Nov 2022 12:45:07 -0800 Message-ID: Subject: control message for bug #58756 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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: -1.0 (-) tags 58756 + patch quit From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 12 15:45:32 2022 Received: (at control) by debbugs.gnu.org; 12 Nov 2022 20:45:32 +0000 Received: from localhost ([127.0.0.1]:49222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otxNb-0006hP-R9 for submit@debbugs.gnu.org; Sat, 12 Nov 2022 15:45:32 -0500 Received: from mail-oo1-f50.google.com ([209.85.161.50]:38780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otxNY-0006K8-UJ for control@debbugs.gnu.org; Sat, 12 Nov 2022 15:45:29 -0500 Received: by mail-oo1-f50.google.com with SMTP id g15-20020a4a894f000000b0047f8e899623so1093383ooi.5 for ; Sat, 12 Nov 2022 12:45:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=V7J5e3Zfuv5ETysnyS/114k0mi6wQwZKJ8IhO3byFzg=; b=Yi523p1w3ThoTMtasZydnum4eN72kDoVf7YJ+gjoier/icnvoatPXbFVUYRMyPkue5 8MiaoaTUsdGO2rH1opWxY5+8eYyKJGgMfq0VO6OulLReF5VyBcxM1uq5zy/wzAKttbaa Wziyjdmr9X7hfw6Df+qcwSf8Bqh9yNgR9V48G8eQxhaALXPdcAnWalmpcAKAdiFyAkrO qqog4+Zv0ZYe6CnKeSFuG3yK1Vn1lTybb7Ij1hK3IEJwQUUsNs5chXDITtQ5poogm+I4 /fxBGy0pnFmgqZcHPOBPICxWbEN/XJCPATi8FlSATMY+OyxlznHe/gAlf/kfImMjbAy0 RKwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=V7J5e3Zfuv5ETysnyS/114k0mi6wQwZKJ8IhO3byFzg=; b=TDwZdAhRWhXIA78O4iSgypKJUFtglgpsLn4LsiFH01r3m4B+j0nNLAE290TAZ9KX5k obx7wJp6DithxE275jnV+aJAngXqXK7DhpvxJoCipLyJzxQTym0a2O4HQTMZPy1taYm9 pWW4CYsWgzGN08R4Oph4FIa+fhUZHk7Y5x3ZK+oA1EG1AkqQL8TXqnRjt/OkcRyS9gSx zV38vYGewtSVdnanVeAOkQDLi0EAE3zbHUy0k7ur/uOyemuuUc0Ho0goSJXa5eRFKtK5 x5v/02iUHqumBkDaDwNc9VOUGk2Kl9qXqwf5W+W9ymKT21gl6d8WtYZq1H+fdLqWjeRZ jB+g== X-Gm-Message-State: ANoB5pndI53nphltehnQw/fG/kV5cg81Gw08r0hiZtXWEbeKO2aKZvfP NJMsH4ovHSEtGJ+/RakGT5QJJP2BKPwaLsDTjiKOEtB2 X-Google-Smtp-Source: AA0mqf68xXPAB4v2TU3DzlwIruE09Jx7O5wvZGPp+F9Smv36RqGBLfvl8hXqaZFB5opZlugdY2ufZgJZ+/mYdaMCciM= X-Received: by 2002:a4a:eb95:0:b0:49e:3627:279f with SMTP id d21-20020a4aeb95000000b0049e3627279fmr3190853ooj.5.1668285923371; Sat, 12 Nov 2022 12:45:23 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 12 Nov 2022 12:45:22 -0800 From: Stefan Kangas X-Hashcash: 1:20:221112:control@debbugs.gnu.org::XyosHjgyI5mPbiXG:3KY7 MIME-Version: 1.0 Date: Sat, 12 Nov 2022 12:45:22 -0800 Message-ID: Subject: control message for bug #58766 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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: -1.0 (-) forcemerge 58766 58756 quit From unknown Sun Jun 22 11:49:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58756: bug#58766: 29.0.50; Error in sqlite tests Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Nov 2022 20:02:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58756 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: 58756@debbugs.gnu.org, 58766@debbugs.gnu.org, Lars Ingebrigtsen Received: via spool by 58756-submit@debbugs.gnu.org id=B58756.166932010514921 (code B ref 58756); Thu, 24 Nov 2022 20:02:03 +0000 Received: (at 58756) by debbugs.gnu.org; 24 Nov 2022 20:01:45 +0000 Received: from localhost ([127.0.0.1]:60327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyIPp-0003sa-5x for submit@debbugs.gnu.org; Thu, 24 Nov 2022 15:01:45 -0500 Received: from mail-oo1-f45.google.com ([209.85.161.45]:38874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyIPn-0003sI-HR; Thu, 24 Nov 2022 15:01:43 -0500 Received: by mail-oo1-f45.google.com with SMTP id g15-20020a4a894f000000b0047f8e899623so392980ooi.5; Thu, 24 Nov 2022 12:01:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=2/1FlLu/FuOk5dHjE4CQ6C+R3k2d6fBCMoPXwITE+p4=; b=Rp4eIeOqifm09/0hqoqLYgQcWVSWQtKwxV8ZBRXhbp2GNV/H9wu6t216pVDZFe1+RB OOnBvGxP2XKmG2xspbf8thqyrzx5AByB9aBVNuG2bRpjHQKPUZGnkQ/I2+qsOGo2ylvc Uel/qQcLcyX+//ffUG5bXlpOVED1z//PtJYIZ8XHb3yCSdDhEytQIl2M+KTIGyX7fbIt r30AEJIZf1v2ELNN+1f2UG/uU2BDUySWkkcw/FyJcNz8oz2a9pTLblteOnpZ8lb9QbUu Drp36MQNt9NzNmDBUMLhy3nafuGQdS18rPwWrO45uJHgEQj/fm/JFqB0RCYHm7mzgBpL mjNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=2/1FlLu/FuOk5dHjE4CQ6C+R3k2d6fBCMoPXwITE+p4=; b=cpXzZFcBe6KaTrlF9cUNQDAzgJJZUVnB1vr49pnVoOvD54Xdv1Y1NgTxEbZQ5j1EJR tuzJWPEJyZdWsgjrCrDvy0sdB53i6Aru3uPzXc7blo+jw4yya7RkJh5GdqR6tlzlGmVG /+vzXgFfE2Xcyrz+rhHXmJT1tzyMbAFNGV15vzkUdhdzHY0WN+gu0zSlI9OxaC1gNILY KUxYpvBx4i+n8TdsS+NzIrEkD1gae7ltPYxU21S66acnkyy0SwAX9GoxaUFEGftkTxUB 7C+H+oj07Aa909XLCTK7WhByIWC6mXEnbPhc02z4L3kaner9+jzClTgEn6RZT3N+TVb3 +80A== X-Gm-Message-State: ANoB5pn0WhTvcUpy/DGrNWcXuTi5VnGA1LJFiCY1quwYk8XT0k5lfRWo tgi95ZPEPCBH72qDtT1VzL9IycrEj8GtPbtfB+0= X-Google-Smtp-Source: AA0mqf62Qr/nen7oQwRrogg+B+Ux/iLEAgF3imFYsuJp03+J6H7NfYnE55AzVWLcq2O/pR+aVSGKBsOXCuP2uFeqQSM= X-Received: by 2002:a4a:54c1:0:b0:49f:d54c:9bcd with SMTP id t184-20020a4a54c1000000b0049fd54c9bcdmr11370067ooa.5.1669320097999; Thu, 24 Nov 2022 12:01:37 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 24 Nov 2022 12:01:37 -0800 From: Stefan Kangas In-Reply-To: <5574B0A6-E5B0-47AD-AC8A-34962043D35E@gmail.com> ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Mon, 24 Oct 2022 11:50:00 +0200") References: <5574B0A6-E5B0-47AD-AC8A-34962043D35E@gmail.com> X-Hashcash: 1:20:221124:mattias.engdegard@gmail.com::cs/TNbOnjhZ6vEvh:0NQ7 MIME-Version: 1.0 Date: Thu, 24 Nov 2022 12:01:37 -0800 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) 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: -1.0 (-) Mattias Engdeg=C3=A5rd writes: > The recently added sqlite-returning test fails when the SQLite library > does not implement RETURNING, added in 3.35. > > What about adding a Lisp function for retrieving the SQLite library > version? It can be used to skip this particular test but would also be > useful on its own. > > Proof-of-concept patch attached. LGTM. From unknown Sun Jun 22 11:49:47 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Subject: bug#58756: closed (Re: bug#58766: 29.0.50; Error in sqlite tests) Message-ID: References: <8521A7FA-974E-4FAD-A3E1-6E0F240BA04F@gmail.com> <5574B0A6-E5B0-47AD-AC8A-34962043D35E@gmail.com> X-Gnu-PR-Message: they-closed 58756 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 58756@debbugs.gnu.org Date: Fri, 25 Nov 2022 10:19:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1669371542-17298-1" This is a multi-part message in MIME format... ------------=_1669371542-17298-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #58756: sqlite-returning tests fails with older SQLite library versions which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 58756@debbugs.gnu.org. --=20 58756: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D58756 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1669371542-17298-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 58756-done) by debbugs.gnu.org; 25 Nov 2022 10:18:18 +0000 Received: from localhost ([127.0.0.1]:33602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyVmk-0004Tr-Df for submit@debbugs.gnu.org; Fri, 25 Nov 2022 05:18:18 -0500 Received: from mail-lj1-f170.google.com ([209.85.208.170]:46843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyVmi-0004Ta-VH; Fri, 25 Nov 2022 05:18:17 -0500 Received: by mail-lj1-f170.google.com with SMTP id l8so4619272ljh.13; Fri, 25 Nov 2022 02:18:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=Ed8Ky0m7pLyPmV4YUM94Dwsz1P7nq6C5CZ0I3phZDqo=; b=Teyvllp8Mp9U/00AN0YAo23sNj3Zn4FWrwEC+7UECwS+aBliMh0y4eGs89NcDzB8t5 bzDeRk5H3wx+pnuZk2H5R/XWf938fq72DrwRfziFk+r8oprRnx3WPoj+x/jOyJPR3tcS mq8469WEvykcq4RMgM7DMesHFmNSfoawQOyoAqra6/lQgXpcOrTVHDLBkfa8gkiWysoZ j8aGhLg0hHw4+KdwQi5wFf7F8J4smrRpjBs+S/kr1lYVXHh0suGOvcOZ6Ma5DSBu9f2t /wy9V5LSBpgTNYMJRBVz36TGzP2+82h5A/uN/XXBE7rRGp7PmImee0qwj8JMILdniRZd 14sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Ed8Ky0m7pLyPmV4YUM94Dwsz1P7nq6C5CZ0I3phZDqo=; b=I6QPIkAlHZ76KZ6mSj8SR+VmYzYEuqv4bOD/LOKfHQxWAiZOiwyYmni1SbfmM84eaB MhjVafr1GkUncbyklyakDJbABZre7BTNoasT6Mqz/DiKt6yQnU0vcAt6Vxwj9aosfKZa lLWTUaNNIauEU0EmDC0EXS0ws5ummKG+0qahb0xWW2CwfXReAaITVVgRnqtgrUd6Uu7m ChMJgtloRoS7ycasufrsYUyU+CQGLOenL2Tdj4zZp917KDCw6G4EuCMLFfjjnrRS5av/ hTGspMzkU758tYngeBOKpgHiQdg5wXP4oZxByD2pUQW8kSwyirlnYjkHlXQAhWFKtmC/ yakQ== X-Gm-Message-State: ANoB5pnebeXyK7bJq479DhfFjlnkpk7x+8k67TbLYH9Di9rH0geFnNKU /TL3XrIzpapHQEx7ikz4Phs= X-Google-Smtp-Source: AA0mqf6aOYGbh1XNCOYMqtGDV8ZxZqX4zqz/LfKX+rmA/0Ka1LW8s+ohDFZMRn1D7eBeoBcz0g0j+A== X-Received: by 2002:a2e:a988:0:b0:276:de0b:ce2d with SMTP id x8-20020a2ea988000000b00276de0bce2dmr5460766ljq.212.1669371490908; Fri, 25 Nov 2022 02:18:10 -0800 (PST) Received: from smtpclient.apple (c188-150-171-209.bredband.tele2.se. [188.150.171.209]) by smtp.gmail.com with ESMTPSA id bt14-20020a056512260e00b004a6f66eed7fsm469830lfb.165.2022.11.25.02.18.09 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Nov 2022 02:18:10 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: bug#58766: 29.0.50; Error in sqlite tests From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: Date: Fri, 25 Nov 2022 11:18:09 +0100 Content-Transfer-Encoding: 7bit Message-Id: <8521A7FA-974E-4FAD-A3E1-6E0F240BA04F@gmail.com> References: <5574B0A6-E5B0-47AD-AC8A-34962043D35E@gmail.com> To: Stefan Kangas X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58756-done Cc: 58756-done@debbugs.gnu.org, 58766@debbugs.gnu.org, Lars Ingebrigtsen 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: -1.0 (-) Thank you, pushed to master (adding an entry to the manual). ------------=_1669371542-17298-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Oct 2022 09:50:11 +0000 Received: from localhost ([127.0.0.1]:47128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omu5y-0004v9-W0 for submit@debbugs.gnu.org; Mon, 24 Oct 2022 05:50:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:49200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omu5w-0004v0-Bo for submit@debbugs.gnu.org; Mon, 24 Oct 2022 05:50:09 -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 1omu5v-0003DH-QL for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2022 05:50:07 -0400 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omu5u-0004tC-6g for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2022 05:50:07 -0400 Received: by mail-lj1-x22b.google.com with SMTP id z24so2033511ljn.4 for ; Mon, 24 Oct 2022 02:50:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:cc:date:message-id:subject:mime-version:from:sender:from:to:cc :subject:date:message-id:reply-to; bh=vVtxp6TmG9aH3TTBWGEQQcATWr2E0RxQtDN6ndiakos=; b=TKJEBprFyrloeq9hVF6YvgS51FwTNskZUqf0Qx5ms2rdvqUksvpAxBtOpRbHkgZocN T1n85KqGyOHxWZbBC9xI+QCrNt6oXGZgPCqFpYD23/gIa5GMo89AVTSKQvwtEts8BV4S 5A2NqB0KBg7vArfHxw9c5RUzy1W7pIVmhFTkJMCRKiXThr2rgmH+02O+R9xczF7YOZAO RxLoxp36jrTb5YS9DnlaAgdugOKc+IksAFks7W4n+ywk5OQA1TTn7FhjulLG2ycqienR 7rKLHWtIgJJQzpoLsBdZ645gJXc7h0K4Vztq13gjSlMZXhrtpeMD+tOV7OTFaJoL7B/B jy8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:cc:date:message-id:subject:mime-version:from:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vVtxp6TmG9aH3TTBWGEQQcATWr2E0RxQtDN6ndiakos=; b=NOeScrJ9AYVCEm4kOQyqFNL6Eo14iXdcH9dh6vMcyezVVT85mRy7lxLf0lB1bcFibO EtT/y+TdNJQ09OS+sPp3vb1F/MXzfLZApHDM+X51dBuK3Q47RLVONs0H60Jlx5zGYgQ6 kHgdy2zDNONdsOIJNdf35tVEUcwyVdYYB9u3h5DOItaxVV1Lp3RMV7JpniedjpKCCg/7 h+5/ZVXRIt/MLP+4nzWH1ujp+7je0YJbYiNwoUemwxQka0yydjOKkT4hk68W6vF4zX9v BLBYLfOa3Sez/0OvDhunULupNKr88G8F2fhRgyChwaUMu0bv+t7Vn957PAuEhqDE7ZrF taMg== X-Gm-Message-State: ACrzQf2VSb3Au7L8u5caJt5UKL5QhYXoECS3OFlta/tSJHajVp0V5gey 8a7qg/w2kvp2PtMxGlQSYyZxUdNrLqo= X-Google-Smtp-Source: AMsMyM4wy3P1Ks/gC3wcLBvq+M+8AMX9Qyf1OEVLYqNE9BQqBk/zHvuhwmzI0vQmXzOOVsMc/D+gYQ== X-Received: by 2002:a2e:b0cf:0:b0:277:903:2d4c with SMTP id g15-20020a2eb0cf000000b0027709032d4cmr1954292ljl.64.1666605003776; Mon, 24 Oct 2022 02:50:03 -0700 (PDT) Received: from smtpclient.apple (c188-150-171-209.bredband.tele2.se. [188.150.171.209]) by smtp.gmail.com with ESMTPSA id w6-20020a05651234c600b00492e570e036sm4460947lfr.54.2022.10.24.02.50.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Oct 2022 02:50:03 -0700 (PDT) From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Content-Type: multipart/mixed; boundary="Apple-Mail=_4FAEE4CA-6F97-4BC3-9CBD-A7190CF85460" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: sqlite-returning tests fails with older SQLite library versions Message-Id: <5574B0A6-E5B0-47AD-AC8A-34962043D35E@gmail.com> Date: Mon, 24 Oct 2022 11:50:00 +0200 To: Emacs Bug Report X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=2a00:1450:4864:20::22b; envelope-from=mattias.engdegard@gmail.com; helo=mail-lj1-x22b.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.3 (-) X-Debbugs-Envelope-To: submit Cc: Lars Ingebrigtsen 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: -2.3 (--) --Apple-Mail=_4FAEE4CA-6F97-4BC3-9CBD-A7190CF85460 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii The recently added sqlite-returning test fails when the SQLite library = does not implement RETURNING, added in 3.35. What about adding a Lisp function for retrieving the SQLite library = version? It can be used to skip this particular test but would also be = useful on its own. Proof-of-concept patch attached. --Apple-Mail=_4FAEE4CA-6F97-4BC3-9CBD-A7190CF85460 Content-Disposition: attachment; filename=sqlite-version.diff Content-Type: application/octet-stream; x-unix-mode=0644; name="sqlite-version.diff" Content-Transfer-Encoding: 7bit diff --git a/src/sqlite.c b/src/sqlite.c index 1526e344e5..761ddc8361 100644 --- a/src/sqlite.c +++ b/src/sqlite.c @@ -52,6 +52,7 @@ DEF_DLL_FN (SQLITE_API int, sqlite3_bind_null, (sqlite3_stmt*, int)); DEF_DLL_FN (SQLITE_API int, sqlite3_bind_int, (sqlite3_stmt*, int, int)); DEF_DLL_FN (SQLITE_API const char*, sqlite3_errmsg, (sqlite3*)); DEF_DLL_FN (SQLITE_API const char*, sqlite3_errstr, (int)); +DEF_DLL_FN (SQLITE_API const char*, sqlite3_libversion, (void)); DEF_DLL_FN (SQLITE_API int, sqlite3_step, (sqlite3_stmt*)); DEF_DLL_FN (SQLITE_API int, sqlite3_changes, (sqlite3*)); DEF_DLL_FN (SQLITE_API int, sqlite3_column_count, (sqlite3_stmt*)); @@ -90,6 +91,7 @@ DEF_DLL_FN (SQLITE_API int, sqlite3_load_extension, # undef sqlite3_bind_int # undef sqlite3_errmsg # undef sqlite3_errstr +# undef sqlite3_libversion # undef sqlite3_step # undef sqlite3_changes # undef sqlite3_column_count @@ -115,6 +117,7 @@ DEF_DLL_FN (SQLITE_API int, sqlite3_load_extension, # define sqlite3_bind_int fn_sqlite3_bind_int # define sqlite3_errmsg fn_sqlite3_errmsg # define sqlite3_errstr fn_sqlite3_errstr +# define sqlite3_libversion fn_sqlite3_libversion # define sqlite3_step fn_sqlite3_step # define sqlite3_changes fn_sqlite3_changes # define sqlite3_column_count fn_sqlite3_column_count @@ -143,6 +146,7 @@ load_dll_functions (HMODULE library) LOAD_DLL_FN (library, sqlite3_bind_int); LOAD_DLL_FN (library, sqlite3_errmsg); LOAD_DLL_FN (library, sqlite3_errstr); + LOAD_DLL_FN (library, sqlite3_libversion); LOAD_DLL_FN (library, sqlite3_step); LOAD_DLL_FN (library, sqlite3_changes); LOAD_DLL_FN (library, sqlite3_column_count); @@ -737,6 +741,15 @@ DEFUN ("sqlite-finalize", Fsqlite_finalize, Ssqlite_finalize, 1, 1, 0, return Qt; } +DEFUN ("sqlite-version", Fsqlite_version, Ssqlite_version, 0, 0, 0, + doc: /* SQLite library version string. */) + (void) +{ + if (!init_sqlite_functions ()) + error ("sqlite support is not available"); + return build_string (sqlite3_libversion ()); +} + #endif /* HAVE_SQLITE3 */ DEFUN ("sqlitep", Fsqlitep, Ssqlitep, 1, 1, 0, @@ -788,6 +801,7 @@ syms_of_sqlite (void) defsubr (&Ssqlite_columns); defsubr (&Ssqlite_more_p); defsubr (&Ssqlite_finalize); + defsubr (&Ssqlite_version); DEFSYM (Qset, "set"); DEFSYM (Qfull, "full"); #endif diff --git a/test/src/sqlite-tests.el b/test/src/sqlite-tests.el index be4f60ab57..e9ddf9c0be 100644 --- a/test/src/sqlite-tests.el +++ b/test/src/sqlite-tests.el @@ -243,6 +243,7 @@ sqlite-blob (ert-deftest sqlite-returning () (skip-unless (sqlite-available-p)) + (skip-unless (version<= "3.35" (sqlite-version))) (let (db) (progn (setq db (sqlite-open)) --Apple-Mail=_4FAEE4CA-6F97-4BC3-9CBD-A7190CF85460-- ------------=_1669371542-17298-1-- From unknown Sun Jun 22 11:49:47 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Steve Downey Subject: bug#58766: closed (Re: bug#58766: 29.0.50; Error in sqlite tests) Message-ID: References: <8521A7FA-974E-4FAD-A3E1-6E0F240BA04F@gmail.com> X-Gnu-PR-Message: they-closed 58766 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 58766@debbugs.gnu.org Date: Fri, 25 Nov 2022 10:19:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1669371542-17298-3" This is a multi-part message in MIME format... ------------=_1669371542-17298-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #58756: 29.0.50; Error in sqlite tests which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 58766@debbugs.gnu.org. --=20 58756: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D58756 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1669371542-17298-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 58756-done) by debbugs.gnu.org; 25 Nov 2022 10:18:18 +0000 Received: from localhost ([127.0.0.1]:33602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyVmk-0004Tr-Df for submit@debbugs.gnu.org; Fri, 25 Nov 2022 05:18:18 -0500 Received: from mail-lj1-f170.google.com ([209.85.208.170]:46843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyVmi-0004Ta-VH; Fri, 25 Nov 2022 05:18:17 -0500 Received: by mail-lj1-f170.google.com with SMTP id l8so4619272ljh.13; Fri, 25 Nov 2022 02:18:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=Ed8Ky0m7pLyPmV4YUM94Dwsz1P7nq6C5CZ0I3phZDqo=; b=Teyvllp8Mp9U/00AN0YAo23sNj3Zn4FWrwEC+7UECwS+aBliMh0y4eGs89NcDzB8t5 bzDeRk5H3wx+pnuZk2H5R/XWf938fq72DrwRfziFk+r8oprRnx3WPoj+x/jOyJPR3tcS mq8469WEvykcq4RMgM7DMesHFmNSfoawQOyoAqra6/lQgXpcOrTVHDLBkfa8gkiWysoZ j8aGhLg0hHw4+KdwQi5wFf7F8J4smrRpjBs+S/kr1lYVXHh0suGOvcOZ6Ma5DSBu9f2t /wy9V5LSBpgTNYMJRBVz36TGzP2+82h5A/uN/XXBE7rRGp7PmImee0qwj8JMILdniRZd 14sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Ed8Ky0m7pLyPmV4YUM94Dwsz1P7nq6C5CZ0I3phZDqo=; b=I6QPIkAlHZ76KZ6mSj8SR+VmYzYEuqv4bOD/LOKfHQxWAiZOiwyYmni1SbfmM84eaB MhjVafr1GkUncbyklyakDJbABZre7BTNoasT6Mqz/DiKt6yQnU0vcAt6Vxwj9aosfKZa lLWTUaNNIauEU0EmDC0EXS0ws5ummKG+0qahb0xWW2CwfXReAaITVVgRnqtgrUd6Uu7m ChMJgtloRoS7ycasufrsYUyU+CQGLOenL2Tdj4zZp917KDCw6G4EuCMLFfjjnrRS5av/ hTGspMzkU758tYngeBOKpgHiQdg5wXP4oZxByD2pUQW8kSwyirlnYjkHlXQAhWFKtmC/ yakQ== X-Gm-Message-State: ANoB5pnebeXyK7bJq479DhfFjlnkpk7x+8k67TbLYH9Di9rH0geFnNKU /TL3XrIzpapHQEx7ikz4Phs= X-Google-Smtp-Source: AA0mqf6aOYGbh1XNCOYMqtGDV8ZxZqX4zqz/LfKX+rmA/0Ka1LW8s+ohDFZMRn1D7eBeoBcz0g0j+A== X-Received: by 2002:a2e:a988:0:b0:276:de0b:ce2d with SMTP id x8-20020a2ea988000000b00276de0bce2dmr5460766ljq.212.1669371490908; Fri, 25 Nov 2022 02:18:10 -0800 (PST) Received: from smtpclient.apple (c188-150-171-209.bredband.tele2.se. [188.150.171.209]) by smtp.gmail.com with ESMTPSA id bt14-20020a056512260e00b004a6f66eed7fsm469830lfb.165.2022.11.25.02.18.09 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Nov 2022 02:18:10 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: bug#58766: 29.0.50; Error in sqlite tests From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: Date: Fri, 25 Nov 2022 11:18:09 +0100 Content-Transfer-Encoding: 7bit Message-Id: <8521A7FA-974E-4FAD-A3E1-6E0F240BA04F@gmail.com> References: <5574B0A6-E5B0-47AD-AC8A-34962043D35E@gmail.com> To: Stefan Kangas X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58756-done Cc: 58756-done@debbugs.gnu.org, 58766@debbugs.gnu.org, Lars Ingebrigtsen 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: -1.0 (-) Thank you, pushed to master (adding an entry to the manual). ------------=_1669371542-17298-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Oct 2022 17:04:40 +0000 Received: from localhost ([127.0.0.1]:49377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1on0sR-0004JW-5l for submit@debbugs.gnu.org; Mon, 24 Oct 2022 13:04:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:33838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1on0sN-0004JH-MQ for submit@debbugs.gnu.org; Mon, 24 Oct 2022 13:04:37 -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 1on0sM-0008Pu-Bg for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2022 13:04:34 -0400 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1on0sI-00006j-SL for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2022 13:04:34 -0400 Received: by mail-ej1-x62e.google.com with SMTP id q9so6683032ejd.0 for ; Mon, 24 Oct 2022 10:04:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=NG7R/6Ud5EBqXwtg8OFPGKoiV/UXNdkjyc8DEI0OeC0=; b=arivryMUFmWlYW3k/khFVb/sJok9FmApZ+tRgWeAzzMWyIX5MMHVLQ5KawCt7JJHj8 MQdt/cbaEiJ3BtMlWBcuGGh/3o/Wht/CsBadiFghOAzpEy679SQsqGVSxsum5etXQnYN RHRIwgaITIJnd2E4JB5x5VwfO7jFiNUO6alQ/LvFcC5VT/ODy90ULscoAoz7WpGXm/4l NsdQiIz2d7El6C6Jd/24KqYGsZpPQph4fuhUanuU7BVDo6ckIZx1U+ZF/d5fdE9XX1Yo nPTf5D1QrOV/8j6DCu3HdGBD8oHJJk0WPCDm7D8gr+AqDThkkzx4fBg8lMwP6sPJOc8i ZLEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=NG7R/6Ud5EBqXwtg8OFPGKoiV/UXNdkjyc8DEI0OeC0=; b=Xl9vT4sMWhUmgp0z7J5OsDoSN34tXOCXHiQ/Py294kvLDjpbL6PtpapnKG6nOoCZLn /23SAeQEp906Ay8LqrJ3o1tcFTiaaFGHsp1oohKVPIK5pG4M+K8r+78o3NxEPTx5CYiu yZHFIXWlGvwJPqjBcmpQ29z4x1P6zwlhG/ylMyuFlESJTVmfZo/nfencVR62OPK6g51/ rmin0o9Z3Yyc37n/rrYhtyKWGEfALn+mYC+4FFWvDI0fnciTyfrbYLBmNic56aw8bxkB fLvHTgLLeIsGnZim4uWZ7QDJu5AOjFwBRyMyjnP6vUarWJwm9nkXVa1Rp4UOTQT3rMnd XXhg== X-Gm-Message-State: ACrzQf3oCHX4/CQd8lku5s5bXUT7v2VjOxIgkrfpnSysNhXlsZV9oKFa SvFyjefyMRvoHTyHRZQqZM49eiaCssSq9bfTgqkizfqwiK4= X-Google-Smtp-Source: AMsMyM5ZxMzTH7elOZDl9rKi1iZTgYUnRhMr8qmRrEVg71FWLw26fxcTVK0FCNX61efeXJC28iaXCCgvg+XEZ93NdjU= X-Received: by 2002:a17:907:3207:b0:741:3a59:738d with SMTP id xg7-20020a170907320700b007413a59738dmr28521404ejb.110.1666631064734; Mon, 24 Oct 2022 10:04:24 -0700 (PDT) MIME-Version: 1.0 From: Steve Downey Date: Mon, 24 Oct 2022 13:04:13 -0400 Message-ID: Subject: 29.0.50; Error in sqlite tests To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="00000000000095e14505ebcac8c1" Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=sdowney@gmail.com; helo=mail-ej1-x62e.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, HTML_MESSAGE=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.3 (-) 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: -2.3 (--) --00000000000095e14505ebcac8c1 Content-Type: text/plain; charset="UTF-8" When running tests in a clean build of the trunk I'm seeing a failure Test sqlite-returning backtrace: signal(error ("SQL logic error (near \"RETURNING\": syntax error)")) apply(signal (error ("SQL logic error (near \"RETURNING\": syntax er #f(compiled-function () #)() ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name sqlite-returning :documentation nil : ert-run-or-rerun-test(#s(ert--stats :selector (not (or ... ...)) :te ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable))) ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un command-line-1(("-L" ":." "-l" "ert" "-l" "src/sqlite-tests" "--eval command-line() normal-top-level() Test sqlite-returning condition: (error "SQL logic error (near \"RETURNING\": syntax error)") FAILED 9/11 sqlite-returning (0.000294 sec) at src/sqlite-tests.el:244 This is on Ubuntu 20.04 with sqlite3 version 3.31.1 In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-10-24 built on R9100817 Repository revision: 8f16578c45fc1d23aacecdb48111f816088c7b83 Repository branch: master System Description: Ubuntu 20.04.5 LTS Configured using: 'configure --prefix=/home/sdowney/install/emacs-wayland/ --with-imagemagick --with-json --with-native-compilation --with-file-notification=yes CC=/usr/bin/gcc-10 CXX=/usr/bin/g++-10 --with-pgtk --with-gconf' Configured features: ACL CAIRO DBUS FREETYPE GCONF GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP XIM GTK3 ZLIB Important settings: value of $LANG: C.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: TeX-PDF-mode: t dap-tooltip-mode: t dap-ui-many-windows-mode: t dap-ui-controls-mode: t dap-ui-mode: t dap-auto-configure-mode: t dap-mode: t pyvenv-mode: t display-time-mode: t eval-sexp-fu-flash-mode: t js2-imenu-extras-mode: t global-flycheck-mode: t flycheck-mode: t company-statistics-mode: t global-company-mode: t company-mode: t global-git-commit-mode: t magit-auto-revert-mode: t exordium-global-git-gutter-mode: t which-key-mode: t treemacs-filewatch-mode: t treemacs-follow-mode: t treemacs-git-mode: t treemacs-fringe-indicator-mode: t projectile-mode: t async-bytecomp-package-mode: t highlight-symbol-nav-mode: t global-hl-line-mode: t recentf-mode: t exordium-global-display-line-numbers-mode: t display-line-numbers-mode: t global-delete-trailing-whitespace-mode: t delete-trailing-whitespace-mode: t cua-mode: t shell-dirtrack-mode: t windmove-mode: t delete-selection-mode: t electric-pair-mode: t savehist-mode: t desktop-save-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/sdowney/.emacs.d/elpa-29.0.50/transient-20221020.1019/transient hides /home/sdowney/install/emacs-wayland/share/emacs/29.0.50/lisp/transient Features: (shadow sort mail-extr emacsbug conf-mode make-mode plain-tex font-latex latexenc preview latex-mode-expansions latex latex-flymake tex-ispell tex-style tex texmathp tex-mode lsp-diagnostics lsp-headerline lsp-icons lsp-modeline dap-mouse dap-ui bui bui-list bui-info bui-entry bui-core bui-history bui-button bui-utils lsp-lens dap-mode dap-tasks dap-launch posframe dap-overlays modern-cpp-font-lock lsp-ui lsp-ui-flycheck lsp-ui-doc goto-addr lsp-ui-imenu lsp-ui-peek lsp-ui-sideline lsp-ui-util face-remap view lsp-zig lsp-steep lsp-svelte lsp-sqls lsp-ruby-syntax-tree lsp-yaml lsp-xml lsp-vimscript lsp-vhdl lsp-volar lsp-vetur lsp-html lsp-verilog lsp-vala lsp-v lsp-typeprof lsp-ttcn3 lsp-toml lsp-terraform lsp-tex lsp-sorbet lsp-solargraph lsp-rust lsp-rf lsp-remark lsp-racket lsp-r lsp-purescript lsp-pylsp lsp-pyls lsp-pwsh lsp-php lsp-pls lsp-perlnavigator lsp-perl lsp-openscad lsp-ocaml lsp-magik lsp-nix lsp-nim lsp-nginx lsp-mint lsp-marksman lsp-markdown lsp-lua lsp-kotlin lsp-json lsp-javascript lsp-idris lsp-haxe lsp-groovy lsp-hack lsp-graphql lsp-gleam lsp-go lsp-completion lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-emmet lsp-elixir lsp-elm lsp-dockerfile lsp-docker lsp-dhall lsp-d lsp-css lsp-csharp lsp-crystal lsp-cmake lsp-clojure lsp-treemacs lsp-treemacs-generic lsp-treemacs-themes treemacs-treelib lsp-semantic-tokens lsp-clangd lsp-beancount lsp-bash lsp-ansible lsp-angular lsp-ada lsp-actionscript disp-table page-break-lines dockerfile-mode sh-script smie executable org-eldoc org-special-block-extras lf image-file image-converter ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader range ol-docview doc-view jka-compr ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi scroll-lock dired-aux sphinx-doc vc-git vc-dispatcher init-powerline init-themes all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons powerline powerline-separators powerline-themes ido-completing-read+ memoize minibuf-eldef init-lsp init-docker xterm-color auto-package-update rust-utils rust-mode rust-rustfmt rust-playpen rust-compile rust-cargo haskell-mode haskell-cabal haskell-utils haskell-font-lock haskell-indentation haskell-string haskell-sort-imports haskell-lexeme haskell-align-imports haskell-complete-module haskell-ghc-support dabbrev haskell-customize pylint highlight-indentation flymake-proc flymake elpy elpy-rpc pyvenv eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util elpy-shell elpy-profile elpy-django elpy-refactor hideshow org-re-reveal ox-bibtex ob-plantuml company-graphviz-dot graphviz-dot-mode clang-format xml midnight calc-ext time google-c-style modus-vivendi-theme modus-operandi-theme modus-themes toolkit-tramp dev-tramp lsp-mode lsp-protocol spinner network-stream lv ewoc init-iwyu init-groovy init-elisp eval-sexp-fu highlight facemenu init-ruby init-python init-javascript js2-imenu-extras js2-mode-expansions js2-mode js-mode-expansions js init-rtags-cdb init-rtags-cmake init-rtags-helm flycheck helm-rtags init-rtags company-rtags company-oddmuse company-keywords company-etags etags fileloop company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company-statistics company rtags popup repeat asm-mode magit-bookmark treemacs-bookmarks bookmark init-gdb gdb-mi bindat gud init-yasnippet yasnippet init-bde-style init-cpp cpp iedit iedit-lib init-xml init-org ox-gfm ox-beamer ox-md ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda org-refile ox-html table ox-ascii ox-publish ox org-superstar ob-dot ob-C cc-mode-expansions cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine ob-python python-el-fgallina-expansions python ob-shell ob-ruby ob-perl the-org-mode-expansions org-element avl-tree generator org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex ol org-keys oc org-compat org-macs org-loaddefs cal-menu calendar cal-loaddefs init-markdown impatient-mode htmlize simple-httpd init-shell init-prog-mode init-flb-mode init-forge forge-list forge-commands forge-semi forge-bitbucket buck forge-gogs gogs forge-gitea gtea forge-gitlab glab forge-github ghub-graphql treepy gsexp ghub url-http url-gw nsm url-auth gnutls forge-notify forge-revnote forge-pullreq forge-issue forge-topic yaml bug-reference forge-post markdown-mode edit-indirect noutline outline forge-repo forge forge-core forge-db closql emacsql-sqlite emacsql emacsql-compiler magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func magit-diff smerge-mode diff diff-mode git-commit log-edit message sendmail yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert autorevert magit-margin magit-transient magit-process with-editor magit-mode magit-git magit-base magit-section crm compat-27 compat-26 let-alist init-git-visit-diffs init-git git-gutter-fringe fringe-helper git-gutter transient compat compat-macs init-dired find-dired wdired init-help helpful cc-langs cc-vars cc-defs trace edebug debug backtrace info-look find-func f f-shortdoc shortdoc help-fns radix-tree which-key init-helm helm-swoop helm-ag helm-descbinds init-helm-projectile treemacs-projectile treemacs treemacs-header-line treemacs-compatibility treemacs-mode treemacs-interface treemacs-extensions treemacs-mouse-interface treemacs-tags imenu xref project treemacs-persistence treemacs-filewatch-mode treemacs-follow-mode treemacs-rendering treemacs-annotations treemacs-async treemacs-workspaces treemacs-dom treemacs-visuals treemacs-fringe-indicator treemacs-scope pulse color treemacs-faces treemacs-icons treemacs-themes treemacs-core-utils pfuture inline ht treemacs-logging treemacs-customization treemacs-macros helm-projectile tramp-sh projectile lisp-mnt grep compile text-property-search ibuf-ext ibuffer ibuffer-loaddefs helm-rg derived helm-files image-dired image-dired-tags image-dired-external image-dired-util xdg image-mode dired dired-loaddefs exif filenotify docker-tramp tramp-cache time-stamp tramp tramp-loaddefs trampver tramp-integration cus-edit pp cus-load files-x tramp-compat parse-time iso8601 time-date ls-lisp helm-buffers helm-occur helm-tags helm-locate helm-grep helm-regexp format-spec helm-utils helm-help helm-types helm helm-global-bindings helm-easymenu helm-core async-bytecomp helm-source helm-multi-match helm-lib async init-company init-highlight hi-lock highlight-symbol hl-line init-ido recentf tree-widget wid-edit ido init-util pcase display-fill-column-indicator goto-chg elisp-refs s dash init-window-manager ace-window avy init-linum display-line-numbers init-font-lock init-look-and-feel vlf-setup expand-region text-mode-expansions er-basic-expansions expand-region-core expand-region-custom cua-base default-text-scale evil evil-keybindings evil-integration evil-maps evil-commands reveal flyspell ispell evil-jumps evil-command-window evil-search evil-ex shell pcomplete comint ansi-osc ansi-color evil-types evil-macros evil-repeat evil-states evil-core evil-common windmove calc calc-loaddefs calc-macs thingatpt rect evil-digraphs evil-vars ring edmacro kmacro delsel elec-pair init-desktop saveplace savehist desktop frameset init-progress-bar server init-prefs init-environment init-lib diminish use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf all-the-icons-autoloads auctex-autoloads tex-site dap-mode-autoloads company-autoloads enh-ruby-mode-autoloads evil-autoloads closql-autoloads emacsql-sqlite-autoloads emacsql-autoloads helm-ag-autoloads flycheck-autoloads helm-autoloads helm-core-autoloads async-autoloads ido-completing-read+-autoloads comp comp-cstr warnings icons cl-extra help-mode js2-mode-autoloads json-mode-autoloads rx json-snatcher-autoloads lsp-treemacs-autoloads lsp-mode-autoloads magit-autoloads magit-section-autoloads memoize-autoloads modus-themes-autoloads org-re-reveal-autoloads popup-autoloads transient-autoloads treemacs-autoloads posframe-autoloads dash-autoloads projectile-autoloads use-package-autoloads info xterm-color-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile cconv url-vars cl-loaddefs cl-lib advice rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 2035960 828993) (symbols 48 90183 106) (strings 32 511566 135497) (string-bytes 1 16021644) (vectors 16 261941) (vector-slots 8 4470850 3259295) (floats 8 2250 8028) (intervals 56 36984 9382) (buffers 1000 103)) --00000000000095e14505ebcac8c1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
When running tests in a clean build of the trunk I'm s= eeing a failure

Test sqlite-returning backtrace:
=C2=A0 signal(er= ror ("SQL logic error (near \"RETURNING\": syntax error)&quo= t;))
=C2=A0 apply(signal (error ("SQL logic error (near \"RETU= RNING\": syntax er
=C2=A0 #f(compiled-function () #<bytecode -0x= 16449576758bbd7e>)()
=C2=A0 ert--run-test-internal(#s(ert--test-execu= tion-info :test #s(ert-test
=C2=A0 ert-run-test(#s(ert-test :name sqlite= -returning :documentation nil :
=C2=A0 ert-run-or-rerun-test(#s(ert--sta= ts :selector (not (or ... ...)) :te
=C2=A0 ert-run-tests((not (or (tag := expensive-test) (tag :unstable))) #f(co
=C2=A0 ert-run-tests-batch((not = (or (tag :expensive-test) (tag :unstable)))
=C2=A0 ert-run-tests-batch-a= nd-exit((not (or (tag :expensive-test) (tag :un
=C2=A0 command-line-1((&= quot;-L" ":." "-l" "ert" "-l" = "src/sqlite-tests" "--eval
=C2=A0 command-line()
=C2= =A0 normal-top-level()
Test sqlite-returning condition:
=C2=A0 =C2=A0= (error "SQL logic error (near \"RETURNING\": syntax error)&= quot;)
=C2=A0 =C2=A0FAILED =C2=A0 9/11 =C2=A0sqlite-returning (0.000294 = sec) at src/sqlite-tests.el:244

This is on Ubuntu 20.04 with sqlite3= version 3.31.1

In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, = GTK+ Version
=C2=A03.24.20, cairo version 1.16.0) of 2022-10-24 built on= R9100817
Repository revision: 8f16578c45fc1d23aacecdb48111f816088c7b83<= br>Repository branch: master
System Description: Ubuntu 20.04.5 LTS
<= br>Configured using:
=C2=A0'configure --prefix=3D/home/sdowney/insta= ll/emacs-wayland/
=C2=A0--with-imagemagick --with-json --with-native-com= pilation
=C2=A0--with-file-notification=3Dyes CC=3D/usr/bin/gcc-10 CXX= =3D/usr/bin/g++-10
=C2=A0--with-pgtk --with-gconf'

Configured= features:
ACL CAIRO DBUS FREETYPE GCONF GIF GLIB GMP GNUTLS GPM GSETTIN= GS HARFBUZZ
IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIB= XML2 MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SO= UND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS WEBP XIM GTK3 ZLIB

I= mportant settings:
=C2=A0 value of $LANG: C.UTF-8
=C2=A0 locale-codin= g-system: utf-8-unix

Major mode: Fundamental

Minor modes in e= ffect:
=C2=A0 TeX-PDF-mode: t
=C2=A0 dap-tooltip-mode: t
=C2=A0 da= p-ui-many-windows-mode: t
=C2=A0 dap-ui-controls-mode: t
=C2=A0 dap-u= i-mode: t
=C2=A0 dap-auto-configure-mode: t
=C2=A0 dap-mode: t
=C2= =A0 pyvenv-mode: t
=C2=A0 display-time-mode: t
=C2=A0 eval-sexp-fu-fl= ash-mode: t
=C2=A0 js2-imenu-extras-mode: t
=C2=A0 global-flycheck-mo= de: t
=C2=A0 flycheck-mode: t
=C2=A0 company-statistics-mode: t
= =C2=A0 global-company-mode: t
=C2=A0 company-mode: t
=C2=A0 global-gi= t-commit-mode: t
=C2=A0 magit-auto-revert-mode: t
=C2=A0 exordium-glo= bal-git-gutter-mode: t
=C2=A0 which-key-mode: t
=C2=A0 treemacs-filew= atch-mode: t
=C2=A0 treemacs-follow-mode: t
=C2=A0 treemacs-git-mode:= t
=C2=A0 treemacs-fringe-indicator-mode: t
=C2=A0 projectile-mode: t=
=C2=A0 async-bytecomp-package-mode: t
=C2=A0 highlight-symbol-nav-mo= de: t
=C2=A0 global-hl-line-mode: t
=C2=A0 recentf-mode: t
=C2=A0 = exordium-global-display-line-numbers-mode: t
=C2=A0 display-line-numbers= -mode: t
=C2=A0 global-delete-trailing-whitespace-mode: t
=C2=A0 dele= te-trailing-whitespace-mode: t
=C2=A0 cua-mode: t
=C2=A0 shell-dirtra= ck-mode: t
=C2=A0 windmove-mode: t
=C2=A0 delete-selection-mode: t=C2=A0 electric-pair-mode: t
=C2=A0 savehist-mode: t
=C2=A0 desktop-= save-mode: t
=C2=A0 override-global-mode: t
=C2=A0 tooltip-mode: t=C2=A0 global-eldoc-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 electri= c-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 menu-bar-mode: t=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2= =A0 font-lock-mode: t
=C2=A0 column-number-mode: t
=C2=A0 line-number= -mode: t
=C2=A0 transient-mark-mode: t
=C2=A0 auto-composition-mode: = t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
<= br>Load-path shadows:
/home/sdowney/.emacs.d/elpa-29.0.50/transient-2022= 1020.1019/transient hides /home/sdowney/install/emacs-wayland/share/emacs/2= 9.0.50/lisp/transient

Features:
(shadow sort mail-extr emacsbug c= onf-mode make-mode plain-tex font-latex
latexenc preview latex-mode-expa= nsions latex latex-flymake tex-ispell
tex-style tex texmathp tex-mode ls= p-diagnostics lsp-headerline lsp-icons
lsp-modeline dap-mouse dap-ui bui= bui-list bui-info bui-entry bui-core
bui-history bui-button bui-utils l= sp-lens dap-mode dap-tasks dap-launch
posframe dap-overlays modern-cpp-f= ont-lock lsp-ui lsp-ui-flycheck
lsp-ui-doc goto-addr lsp-ui-imenu lsp-ui= -peek lsp-ui-sideline
lsp-ui-util face-remap view lsp-zig lsp-steep lsp-= svelte lsp-sqls
lsp-ruby-syntax-tree lsp-yaml lsp-xml lsp-vimscript lsp-= vhdl lsp-volar
lsp-vetur lsp-html lsp-verilog lsp-vala lsp-v lsp-typepro= f lsp-ttcn3
lsp-toml lsp-terraform lsp-tex lsp-sorbet lsp-solargraph lsp= -rust lsp-rf
lsp-remark lsp-racket lsp-r lsp-purescript lsp-pylsp lsp-py= ls lsp-pwsh
lsp-php lsp-pls lsp-perlnavigator lsp-perl lsp-openscad lsp-= ocaml
lsp-magik lsp-nix lsp-nim lsp-nginx lsp-mint lsp-marksman lsp-mark= down
lsp-lua lsp-kotlin lsp-json lsp-javascript lsp-idris lsp-haxe lsp-g= roovy
lsp-hack lsp-graphql lsp-gleam lsp-go lsp-completion lsp-gdscript<= br>lsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-emmet lsp-elixir
lsp= -elm lsp-dockerfile lsp-docker lsp-dhall lsp-d lsp-css lsp-csharp
lsp-cr= ystal lsp-cmake lsp-clojure lsp-treemacs lsp-treemacs-generic
lsp-treema= cs-themes treemacs-treelib lsp-semantic-tokens lsp-clangd
lsp-beancount = lsp-bash lsp-ansible lsp-angular lsp-ada lsp-actionscript
disp-table pag= e-break-lines dockerfile-mode sh-script smie executable
org-eldoc org-sp= ecial-block-extras lf image-file image-converter ol-eww
eww url-queue mm= -url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect
gnus-art mm-uu mml2= 015 mm-view mml-smime smime dig gnus-sum shr
pixel-fill kinsoku url-file= svg dom gnus-group gnus-undo gnus-start
gnus-dbus dbus gnus-cloud nnima= p nnmail mail-source utf7 nnoo gnus-spec
gnus-int gnus-range gnus-win gn= us nnheader range ol-docview doc-view
jka-compr ol-bibtex ol-bbdb ol-w3m= ol-doi org-link-doi scroll-lock
dired-aux sphinx-doc vc-git vc-dispatch= er init-powerline init-themes
all-the-icons all-the-icons-faces data-mat= erial data-weathericons
data-octicons data-fileicons data-faicons data-a= lltheicons powerline
powerline-separators powerline-themes ido-completin= g-read+ memoize
minibuf-eldef init-lsp init-docker xterm-color auto-pack= age-update
rust-utils rust-mode rust-rustfmt rust-playpen rust-compile r= ust-cargo
haskell-mode haskell-cabal haskell-utils haskell-font-lock
= haskell-indentation haskell-string haskell-sort-imports haskell-lexeme
h= askell-align-imports haskell-complete-module haskell-ghc-support
dabbrev= haskell-customize pylint highlight-indentation flymake-proc
flymake elp= y elpy-rpc pyvenv eshell esh-cmd esh-ext esh-opt esh-proc
esh-io esh-arg= esh-module esh-groups esh-util elpy-shell elpy-profile
elpy-django elpy= -refactor hideshow org-re-reveal ox-bibtex ob-plantuml
company-graphviz-= dot graphviz-dot-mode clang-format xml midnight
calc-ext time google-c-s= tyle modus-vivendi-theme modus-operandi-theme
modus-themes toolkit-tramp= dev-tramp lsp-mode lsp-protocol spinner
network-stream lv ewoc init-iwy= u init-groovy init-elisp eval-sexp-fu
highlight facemenu init-ruby init-= python init-javascript
js2-imenu-extras js2-mode-expansions js2-mode js-= mode-expansions js
init-rtags-cdb init-rtags-cmake init-rtags-helm flych= eck helm-rtags
init-rtags company-rtags company-oddmuse company-keywords= company-etags
etags fileloop company-gtags company-dabbrev-code company= -dabbrev
company-files company-clang company-capf company-cmake company-= semantic
company-template company-bbdb company-statistics company rtags = popup
repeat asm-mode magit-bookmark treemacs-bookmarks bookmark init-gd= b
gdb-mi bindat gud init-yasnippet yasnippet init-bde-style init-cpp cpp=
iedit iedit-lib init-xml init-org ox-gfm ox-beamer ox-md ox-odt rng-loc=
rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-n= s
nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda org-refile<= br>ox-html table ox-ascii ox-publish ox org-superstar ob-dot ob-C
cc-mod= e-expansions cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles
cc-ali= gn cc-engine ob-python python-el-fgallina-expansions python
ob-shell ob-= ruby ob-perl the-org-mode-expansions org-element avl-tree
generator org = ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro
org-footnote org-sr= c ob-comint org-pcomplete org-list org-faces
org-entities org-version ob= -emacs-lisp ob-core ob-eval org-table
oc-basic bibtex ol org-keys oc org= -compat org-macs org-loaddefs cal-menu
calendar cal-loaddefs init-markdo= wn impatient-mode htmlize simple-httpd
init-shell init-prog-mode init-fl= b-mode init-forge forge-list
forge-commands forge-semi forge-bitbucket b= uck forge-gogs gogs
forge-gitea gtea forge-gitlab glab forge-github ghub= -graphql treepy
gsexp ghub url-http url-gw nsm url-auth gnutls forge-not= ify
forge-revnote forge-pullreq forge-issue forge-topic yaml bug-referen= ce
forge-post markdown-mode edit-indirect noutline outline forge-repo fo= rge
forge-core forge-db closql emacsql-sqlite emacsql emacsql-compilermagit-submodule magit-obsolete magit-blame magit-stash magit-reflog
ma= git-bisect magit-push magit-pull magit-fetch magit-clone magit-remote
ma= git-commit magit-sequence magit-notes magit-worktree magit-tag
magit-mer= ge magit-branch magit-reset magit-files magit-refs magit-status
magit ma= git-repos magit-apply magit-wip magit-log which-func magit-diff
smerge-m= ode diff diff-mode git-commit log-edit message sendmail
yank-media puny = rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util
mm-decode mm-bod= ies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util
ietf-drums mail= -prsvr mailabbrev mail-utils gmm-utils mailheader
pcvs-util add-log magi= t-core magit-autorevert autorevert magit-margin
magit-transient magit-pr= ocess with-editor magit-mode magit-git
magit-base magit-section crm comp= at-27 compat-26 let-alist
init-git-visit-diffs init-git git-gutter-fring= e fringe-helper git-gutter
transient compat compat-macs init-dired find-= dired wdired init-help
helpful cc-langs cc-vars cc-defs trace edebug deb= ug backtrace info-look
find-func f f-shortdoc shortdoc help-fns radix-tr= ee which-key init-helm
helm-swoop helm-ag helm-descbinds init-helm-proje= ctile
treemacs-projectile treemacs treemacs-header-line treemacs-compati= bility
treemacs-mode treemacs-interface treemacs-extensions
treemacs-= mouse-interface treemacs-tags imenu xref project
treemacs-persistence tr= eemacs-filewatch-mode treemacs-follow-mode
treemacs-rendering treemacs-a= nnotations treemacs-async
treemacs-workspaces treemacs-dom treemacs-visu= als
treemacs-fringe-indicator treemacs-scope pulse color treemacs-faces<= br>treemacs-icons treemacs-themes treemacs-core-utils pfuture inline ht
= treemacs-logging treemacs-customization treemacs-macros helm-projectile
= tramp-sh projectile lisp-mnt grep compile text-property-search ibuf-ext
= ibuffer ibuffer-loaddefs helm-rg derived helm-files image-dired
image-di= red-tags image-dired-external image-dired-util xdg image-mode
dired dire= d-loaddefs exif filenotify docker-tramp tramp-cache time-stamp
tramp tra= mp-loaddefs trampver tramp-integration cus-edit pp cus-load
files-x tram= p-compat parse-time iso8601 time-date ls-lisp helm-buffers
helm-occur he= lm-tags helm-locate helm-grep helm-regexp format-spec
helm-utils helm-he= lp helm-types helm helm-global-bindings helm-easymenu
helm-core async-by= tecomp helm-source helm-multi-match helm-lib async
init-company init-hig= hlight hi-lock highlight-symbol hl-line init-ido
recentf tree-widget wid= -edit ido init-util pcase
display-fill-column-indicator goto-chg elisp-r= efs s dash
init-window-manager ace-window avy init-linum display-line-nu= mbers
init-font-lock init-look-and-feel vlf-setup expand-region
text-= mode-expansions er-basic-expansions expand-region-core
expand-region-cus= tom cua-base default-text-scale evil evil-keybindings
evil-integration e= vil-maps evil-commands reveal flyspell ispell
evil-jumps evil-command-wi= ndow evil-search evil-ex shell pcomplete
comint ansi-osc ansi-color evil= -types evil-macros evil-repeat
evil-states evil-core evil-common windmov= e calc calc-loaddefs calc-macs
thingatpt rect evil-digraphs evil-vars ri= ng edmacro kmacro delsel
elec-pair init-desktop saveplace savehist deskt= op frameset
init-progress-bar server init-prefs init-environment init-li= b diminish
use-package use-package-ensure use-package-delight use-packag= e-diminish
use-package-bind-key bind-key easy-mmode use-package-core fin= der-inf
all-the-icons-autoloads auctex-autoloads tex-site dap-mode-autol= oads
company-autoloads enh-ruby-mode-autoloads evil-autoloads
closql-= autoloads emacsql-sqlite-autoloads emacsql-autoloads
helm-ag-autoloads f= lycheck-autoloads helm-autoloads helm-core-autoloads
async-autoloads ido= -completing-read+-autoloads comp comp-cstr warnings
icons cl-extra help-= mode js2-mode-autoloads json-mode-autoloads rx
json-snatcher-autoloads l= sp-treemacs-autoloads lsp-mode-autoloads
magit-autoloads magit-section-a= utoloads memoize-autoloads
modus-themes-autoloads org-re-reveal-autoload= s popup-autoloads
transient-autoloads treemacs-autoloads posframe-autolo= ads dash-autoloads
projectile-autoloads use-package-autoloads info xterm= -color-autoloads
package browse-url url url-proxy url-privacy url-expand= url-methods
url-history url-cookie generate-lisp-file url-domsuf url-ut= il mailcap
url-handlers url-parse auth-source cl-seq eieio eieio-core cl= -macs
password-cache json subr-x map byte-opt gv bytecomp byte-compile c= conv
url-vars cl-loaddefs cl-lib advice rmc iso-transl tooltip eldoc par= en
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwhe= el
term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset<= br>image regexp-opt fringe tabulated-list replace newcomment text-mode
l= isp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
ea= symenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core= term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesi= an philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai= tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slo= vak czech european ethiopic indian cyrillic chinese
composite emoji-zwj = charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarra= y oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face ma= croexp files window text-properties
overlay sha1 md5 base64 format env c= ode-pages mule custom widget keymap
hashtable-print-readable backquote t= hreads dbusbind inotify
dynamic-setting system-font-setting font-render-= setting cairo gtk pgtk
lcms2 multi-tty make-network-process native-compi= le emacs)

Memory information:
((conses 16 2035960 828993)
=C2= =A0(symbols 48 90183 106)
=C2=A0(strings 32 511566 135497)
=C2=A0(str= ing-bytes 1 16021644)
=C2=A0(vectors 16 261941)
=C2=A0(vector-slots 8= 4470850 3259295)
=C2=A0(floats 8 2250 8028)
=C2=A0(intervals 56 3698= 4 9382)
=C2=A0(buffers 1000 103))
--00000000000095e14505ebcac8c1-- ------------=_1669371542-17298-3--