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 <dbear...@gmail.com> 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 >