Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99892 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29202 invoked from network); 18 Jul 2017 11:07:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jul 2017 11:07:20 -0000 Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.15.18 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.15.18 mout.gmx.net Received: from [212.227.15.18] ([212.227.15.18:51260] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B8/C5-02884-7EBED695 for ; Tue, 18 Jul 2017 07:07:19 -0400 Received: from [192.168.2.123] ([79.243.125.22]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MhAAr-1dJtf02Gbh-00MOX1; Tue, 18 Jul 2017 13:06:59 +0200 To: Anatol Belski , Dan Ackroyd Cc: "internals@lists.php.net" References: <8777af5c-83d2-6688-b8b1-b5898f8deda3@gmx.de> Message-ID: Date: Tue, 18 Jul 2017 13:07:01 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:sqrz2MHguVdj3s5nQD6SzCvDllo1aLdg4mOSgMDHbp2JqIXB9dT AGWTJbHg4KnfypYv1edfuj9q+j4cGJcG8EIT+0EPb1VnWnJHfDpKVR/atRZcRARYpsOHHAN mavHUoqy8TMx/zTK1f8jCqlkabuldb1Ljl5pyRAO5JKFiUTQef1JsOkXtLAOL6m9BJEoMjx vLdXo+/huTyuSf/yEIkSA== X-UI-Out-Filterresults: notjunk:1;V01:K0:HiHZEWSIZ0Y=:SdeG0QIG4JMfCfnpBBx9hu g/2VET27dY3mt1UMZfVvbd/XXKtz8GhIQRua7S1leUZaZqIGG1dvLnj6rSxPREuHbxE1FjN1f 1/NKKJI4EBktOSNSNqShEmmAxgRAzZtim8cbhEcy5y5AFzuu3VTB7CCn5Z/5cKL/8hSZsHw7N 7vGliqh4LJ+AUs3CcUlNaekjj2BYFXsWxf8k7tmZMi3PeIGCmGay0zIQXiATiRs8jR4ACo0Q0 VzzmGbhZ6/BNGvoWgN5JZ92sUb+8XZvcEM+EkvA5T2tcIzH2HuP0NVAn1WOpVyJFE1Pxyq3o1 ontq3rJmnulGEw7TsMPoiCnLCZ8L6H+2DfFKmHFy6fNVaHj1pCziLim0E2H4pHPNNpx26B3Ye Z1l28aleTlWKQIe8XgP5ltRN6mVe0GSwCNmi5GbsZrIHCoIBtrQy1R/c2jTmvHWahjb9B6pZO JjYs/SCzY0b1ZU11NyAV9yGapdRFljxadgZ2I1nwla7vb9YKKdSQPP0UvL1Qlv2ZDaB2XNmad +W2pP3CkRQU74mROHkS4BbypksBGbC4TCq1op4++TiCCMLF6XEGOQWN4G/VFwGCRKyaP4JSOu a6DiSB5BIzQMhrtm2ZpjWr0diARhotTHbHEjxNdgddeQokIMUtXm5NWpkqIRInui/hllSDfXl CJ6L2vEMr09VNgx9bS6IuJkWfyX+MTJOp04bOljF+qdhFUxsBSYE5mRyUEkCBLOP1NO1JIecv IzjMZAQL9AwkD1iNbo8hsV+mkCmV4KnLmlaWbhmvBFaEfJju8zhblz6tTkTA/Sj0CIB3QnfNJ WEr4UqIjVfpamIFF3NCKzR3rgtBWiFXx2Tc0pH9fKbAuO2eu+o= Subject: Re: [PHP-DEV] Re: Bundled libraries upgrade 'process' From: cmbecker69@gmx.de ("Christoph M. Becker") On 18.07.2017 at 12:15, Anatol Belski wrote: >> -----Original Message----- >> From: Dan Ackroyd [mailto:danack@basereality.com] >> Sent: Tuesday, July 18, 2017 10:42 AM >> To: Christoph M. Becker >> Cc: internals@lists.php.net >> Subject: [PHP-DEV] Re: Bundled libraries upgrade 'process' >> >> On 17 July 2017 at 20:09, Christoph M. Becker wrote: >>> On 17.07.2017 at 16:12, Dan Ackroyd wrote: >>> >>>> I just investigated an alleged bug related to the SQLite3 extension. >>> >>> Can you please report the bug and assign it to me. I can't promise >>> that I'll be able to fix it, but I would take a look. >> >> It's already been reported and fixed upstream. >> >> Reported 'bug': https://bugs.php.net/bug.php?id=74883 >> >> Fixed in commit: https://www.sqlite.org/src/info/f27b6370407842e2 > > Thanks for the info. The fix in mainstream doesn't look critical, as the return code is already being caught in PHP. Clear, there are explicit option checks in the linked patch, but the currently bundled Sqlite would bail out anyway. A possible improvement in the end is a different error text. The version jump seems to be big and barely justified, furthermore I'd be hesitant to bundle a just released version. Except there are some other bugs that are fixed by the newer version, I would rather go by applying the patch to the current bundled lib (if possible) or letting it go. I agree that updating all supported PHP versions to Sqlite 3.20.0 isn't justified here, particularly since I think this is a userland application error – why would one create a database in read-only mode? There wouldn't be much to read, and most likely they'd get an error for a following `select`. IMHO it would even be sufficient to integrate user note 121337[1] into the docs. At the most we could detect the erroneous flag combination and throw an exception with a better message. [1] -- Christoph M. Becker