Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113962 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 93878 invoked from network); 5 Apr 2021 19:18:54 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 5 Apr 2021 19:18:54 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 715771804B2 for ; Mon, 5 Apr 2021 12:17:43 -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,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 5 Apr 2021 12:17:39 -0700 (PDT) Received: by mail-wm1-f53.google.com with SMTP id u5-20020a7bcb050000b029010e9316b9d5so6089974wmj.2 for ; Mon, 05 Apr 2021 12:17:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=H8A1kR1M6xtl5xilsfjUoNlwmo81dDzNS27HdVuyYRc=; b=TAjC860peIdBuXu57GnRDt60X03V2FQRS+FB/wmcBEF+3pFGASLrWNmK0iVohx1PBj 5QSGOto27GfrPk0zPrS2G3veSfsNnm9RXIuAqK7MgDsz2FJT8vCTpvkVWBm18wX95gig Lre3b3QkBblYX29xL/xH/XWbIAgMc/OENR31R3SMv0SdhZc9+2Q5tj1YxUY7/ZzQWEIj 7qtunow/ynkjgSAEzLomq5sI+RvIi6rmDLmD/cdkiZ42mtmH/ml7vLuFb8UT6b4/k0d0 bOZA8lK89TI/fdmseP1dYsseggLLKAahbcm5jn2LtJd6UhTiGIa3spEhNOx1SAP8fAEj Lpsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=H8A1kR1M6xtl5xilsfjUoNlwmo81dDzNS27HdVuyYRc=; b=HhfcqA9TKU+bdRIQ+L0+DgSd+xz8riM7l1Ev0/+Nh73C2IjHPHWvQTFqAKb1RaYpTM XlW4opcd8DDl1q94R49sWQlYhlT13WVSZUbUG2hhrxfBm5cTl8oP7fej7QYCKTHDeIfJ Cgs2oVlmbjcdPBQnsSFH7zTPPg4EtQicCmJ6PwttPCALAXVIOUUD76clSUc4C4Yu/Gyg NHvZwGeFvtj+1tVXgjHEXkPw3p3HdmABRpvnGVdDcLb8lp+56RwI3O8czor7K3NdjM3f c6aowzvSYaUVcObRYLLXpXPsManUlUUUnshU9PpxoDNReYhd9Qw79TbD8Pxr5mH1Q+fp 6FCw== X-Gm-Message-State: AOAM5326WRjrf9y+IPUWMtC/WYSSSBOUKBthJo9DNoipLaVYv8dk4REd Owc/qweR93rPBPSIwb1DyajAVWFvU5FtMc4xulfioWCjhpZ+ X-Google-Smtp-Source: ABdhPJyorh81JJAX1127fjB4X7CVbwvw9n1D8meu0R1JzJguf3u4BS5TmuIxWXdjOd3CuKyECuSbGj9Gk+8IGM3qoK0= X-Received: by 2002:a7b:cb55:: with SMTP id v21mr526936wmj.188.1617650258340; Mon, 05 Apr 2021 12:17:38 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 5 Apr 2021 12:17:27 -0700 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="00000000000004f18605bf3e8d17" Subject: Re: RFC: PDO MySQL get warning count From: dbeardsl@gmail.com (Daniel Beardsley) --00000000000004f18605bf3e8d17 Content-Type: text/plain; charset="UTF-8" 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 > --00000000000004f18605bf3e8d17--