From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#58390: 29.0.50; sqlite: on INSERT RETURNING id does not return value Date: Mon, 10 Oct 2022 11:43:31 +0300 Message-ID: References: <86pmf1o45n.fsf@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30775"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.7+37 (a90f69b) (2022-09-02) To: 58390@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 10 12:07:21 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ohpgu-0007mu-PE for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Oct 2022 12:07:20 +0200 Original-Received: from localhost ([::1]:43958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohpgs-00050S-O1 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Oct 2022 06:07:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohpgd-0004xJ-Gg for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 06:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47092) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohpgc-0001TK-6Z for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 06:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohpgb-0005K5-Uu for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 06:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Oct 2022 10:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58390 X-GNU-PR-Package: emacs Original-Received: via spool by 58390-submit@debbugs.gnu.org id=B58390.166539636520396 (code B ref 58390); Mon, 10 Oct 2022 10:07:01 +0000 Original-Received: (at 58390) by debbugs.gnu.org; 10 Oct 2022 10:06:05 +0000 Original-Received: from localhost ([127.0.0.1]:46170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohpfd-0005Ig-Tq for submit@debbugs.gnu.org; Mon, 10 Oct 2022 06:06:05 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:42621) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohpfb-0005IF-La for 58390@debbugs.gnu.org; Mon, 10 Oct 2022 06:06:00 -0400 Original-Received: from localhost ([::ffff:197.239.4.3]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000BBD19.000000006343EE82.0000112E; Mon, 10 Oct 2022 03:05:53 -0700 Content-Disposition: inline In-Reply-To: <86pmf1o45n.fsf@protected.rcdrun.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:245007 Archived-At: One can see on command line that RETURNING works well in SQLite: sqlite> insert into people default values returning people_id; 5 That is necessary to have in Emacs functions to get the return value from `sqlite-execute' as well. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/