Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113978 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 58138 invoked from network); 6 Apr 2021 08:17:09 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 6 Apr 2021 08:17:09 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2766D1804E3 for ; Tue, 6 Apr 2021 01:16:06 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from box.beccati.com (box.beccati.com [176.9.123.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 6 Apr 2021 01:16:05 -0700 (PDT) Received: from authenticated-user (box.beccati.com [176.9.123.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by box.beccati.com (Postfix) with ESMTPSA id 227EB20026B; Tue, 6 Apr 2021 10:16:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=beccati.com; s=mail; t=1617696963; bh=eOtr28neg8AJ89M8zuz29X5YCgDscUo/oz3KhXs7KPI=; h=Date:Subject:To:References:From:In-Reply-To:From; b=oEmXxCKbxptloTOooMrkADzQS4kdpH76RQLWvuj+rgh0t2O7Y7fpS4L+bNFk3MByc 4XbG06myrCzh0W2Kmib3X4Ks9d0zzl6NGxh8BhJg1zW/GYldcbWdjYzbRC6wo++qgr Zmih0CnYf2ANxzQ1Us80JfIXKBvVIyRuIXlUme5BZ9kC+0JtBs/77XbOAukCPaAyDl D8i3i8mGgbI5pfmUJmgAEJf6Hw2o1BPlCnoWpD+UiDiL8TKErS+dRiyCkUWVa6dwV2 BTpu+m3z9vhrZFHrY3XxhSd3lasUGWJzDao6qc6FOJt5/DOZKnI1/fl8HSn7UXYKeM q/uuJ3QgxqMiQ== Message-ID: <6197fbe7-2e81-1412-fc63-3320aeeb65a2@beccati.com> Date: Tue, 6 Apr 2021 10:15:58 +0200 MIME-Version: 1.0 Content-Language: en-GB To: Daniel Beardsley , PHP internals References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: RFC: PDO MySQL get warning count From: php@beccati.com (Matteo Beccati) Hi Daniel, thanks. This seems reasonable to me even though many might not share my point of view. The RFC would eventually apply to 8.1 as it's adding new functionality. Cheers On 05/04/2021 21:17, Daniel Beardsley wrote: > This RFC is considering adding a very tiny function wrapping a mysql > function that hasn't changed in decades. This allows clients to see if > their previous statement generated mysql warnings without having to do > another network round trip to the DB. I've opened the pull with tests. It > fixes the open bug: https://bugs.php.net/bug.php?id=51499. If there is no > other feedback in a day or two, I'll probably move it to "In Voting". > > https://wiki.php.net/rfc/pdo-mysql-get-warning-count > > Thanks in advance for your thoughts! > Daniel Beardsley > > On Fri, Feb 26, 2021 at 8:45 AM Daniel Beardsley wrote: > >> Hi, >> >> I've gotten very little feedback on the "should I make an RFC about >> this?" question, so I went ahead and made an RFC: >> https://wiki.php.net/rfc/pdo-mysql-get-warning-count >> >> This is about a feature in an open pull request: >> https://github.com/php/php-src/pull/6677 >> which addresses an open issue in the bug tracker: >> https://bugs.php.net/bug.php?id=51499 >> >> Thanks for your consideration! >> >> Daniel >> > -- Matteo Beccati Development & Consulting - http://www.beccati.com/