[VOTE] Add PDO function: mysqlGetWarningCount
| From: | Daniel Beardsley | Date: | Tue, 06 Jul 2021 15:34:39 +0000 |
| Subject: | [VOTE] Add PDO function: mysqlGetWarningCount | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-115331@lists.php.net to get a copy of this message | ||
My previous email had an ambiguous subject line. My apologies.
I've moved my RFC to the voting phase.
The proposal:
> Add a function that exposes the warning count of the most recent
statement for MySQL: $pdo->mysqlGetWarningCount(). It returns an int
straight from the MySQL driver. This fixes the open bug at:
https://bugs.php.net/bug.php?id=51499.
Voting will be open till 2020-07-21
https://wiki.php.net/rfc/pdo-mysql-get-warning-count
The pull request (with tests) is here:
https://github.com/php/php-src/pull/6677
Thanks for your time!
Daniel