Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105721 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 22871 invoked from network); 16 May 2019 01:49:00 -0000 Received: from unknown (HELO mout.gmx.net) (212.227.17.22) by pb1.pair.com with SMTP; 16 May 2019 01:49:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1557960898; bh=z+LsusARfkdbRg/o0Ucx/96PUodSR6OuxyyNpRgtYKY=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=dg/YiCnLxGANWzBoodoua0Ep/HBA0mmkIuiKbyOKQoGq202yEYAc4GZX+oxObNfAT 68muubgJv3dy4Fl6R/t3JeXq8u56ZONB15ZcKEl5J7lsB4mbx4Z+fkwSPCr1u0KoyT iW32jW1ak6EPLP4uknS1SHfawgSWe5PplqxzRVrQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.2.144] ([84.179.231.229]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MlNtF-1gxVx10fvx-00lp14; Thu, 16 May 2019 00:54:58 +0200 To: Robert Kopack , internals@lists.php.net References: Message-ID: Date: Thu, 16 May 2019 00:54:58 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:jhJfqkxDMs4hHyAO06waG8njuQ7uF5x5iT1zr9Gzyh+KfVFD4ki HUQ70itIUOVCLvZERFDGq7AeE0LjAeNCOG7wm3WGDF+cyu3HpVsQzb7251ke3LDywuIehkK pYApjj0TxrcSEZw1pcii98y2TWsPOvGmlWgA6NtLHOjkA9MA0QrHNuGu5uJKX7Xds23iZ/3 1mVQLcuNAQF7ovr5R5IAg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:fee+p83xhTI=:nVE1g5FuCoitUirSj5/MLK WY46CUiSh2gBz4RgMGXwUWi0t4QPR3Hb4cJKdAuiqyQVh35NdxM+qibQnDf88k3TVaU5XP/4J aRolEltEWPfjPU+gQpNOoCrsFqyUy3aOLDL5AIsJINSlzkXUngFbdvDTVVE2g/uWT6SNWyPiG OXOJfBWxA/zP5pVLXhtIVBytIooFJ84+BWigpdaHv6L8hvkPS3U/1ZjAsCxE8lXEC2Vg1wdzJ hU+HYqxtPOy47zBJ1xoDkU5LtRb5Dqb3RoH5ybiCE4Ao7UmOF0UW4oP3i3GBmQfDU+Mf2DGET bvKM8I8Ogv34o8jAd/yPKVYlCAIbCK0clImgdHHK2t04iQGDWBPqsDfjXRFzO6s07KADNTkHY fDE4uAYzaIx5YlLnUCFebK0zcH6qMcYe9lcjwqcvtu63rtpiIh/4jk1Ivn4QvGPtQ2wUdXgo1 4oXU753o5zbExYHpSOKRrYJKJW6AmBsYQhmOt4E43uLr56jRf1EMYnoURoGQEQurqVSD3KZbx 8oKP9RzjU2SZp7WeMbHdbAfMd+NDMZgm0fHV4p6KBBTDFbNExWmLaI/MaKdi+cKcj1BOVxUII 9XmORODC/XZgGEi8fxiitC9Bz54s2/lOCSXmKZXXwegrv0vSTT4Ymo3K5wd/fB2IR+5tVZgM4 34VL/sLmcrFDFJ50BVpC1pQuzVuYQApwZFzEvygfTALGV3bOQ7+gJAhc9Fpr00iuV8HFGI7yZ GtEtE66cSx61PPpxdrtPrxWcqzUINxxxEs4C6dKuBuqAvMAQASrCnL34YuUZijPEa7UYmeezx v4an6hSz5ogdY/s/OguX9IRdk0yWxaZLZqvDVDaDHNBS5ZF53XePMCqhUPaocZ9mz0xvpj1CC Ot03Ono7AAl7iJnmvznmizL9wFVODqeGM7/W5cRf67kf9SL1u40xRShDa53gnWCTegS20z8RQ MYojR5Yhf+A== Subject: Re: RFC for Sqlite3 Extended Error Codes From: cmbecker69@gmx.de ("Christoph M. Becker") On 15.05.2019 at 19:14, Robert Kopack wrote: > I would to extend the functionality of the current sqlite3 implementatio= n > (in *ext/sqlite3* and in *ext/pdo_sqlite*) by exposing the functions > related to extended result codes. I have already forked and made my chan= ges > at > https://github.com/rkopack/php-src/commit/f6c4d1eeccd27a3c5bd836fd8205b1= 283bd5eabc. > From > my understanding Scott MacVicar and Christoph M. Becker are the primary > maintainers for the sqlite3 extension and Ilia Alshanetsky is the primar= y > maintainer for the pdo_sqlite extension; It's best to look at EXTENSIONS in master[1], which also reveals the most up-to-date dates of maintainership =E2=80=93 i.e. pdo_sqlite is effec= tively maintained by the core maintainers. > if any of you would like to > comment on this (it's around 50 lines of new code) so I can get feedback= on > this I would greatly appreciate it. I made sure to follow the convention= I > saw in the file(s) to the best of my ability but I am sure there are lit= tle > things I might have missed. I haven't reviewed closely for now, but basically I like these additions. With regard to sqlite3_extended_result_codes() we have to review existing error checks (they likely need small adjustments, if extended error codes are enabled). And we likely want to have a few tests for the new functionality. Feel free to submit a pull request[2]; it seems to me any discussion could happen on Github as well. :) [1] [2] Thanks, Christoph