rfc:pdo-mysql-get-warning-count

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
rfc:pdo-mysql-get-warning-count [2021/04/05 19:14] danielbeardsleyrfc:pdo-mysql-get-warning-count [2021/07/06 09:43] – Opened voting danielbeardsley
Line 3: Line 3:
   * Date: 2021-02-26   * Date: 2021-02-26
   * Author: Daniel Beardsley, dbeardsl@gmail.com   * Author: Daniel Beardsley, dbeardsl@gmail.com
-  * Status: Under Discussion+  * Status: Voting
  
 ===== Introduction ===== ===== Introduction =====
Line 9: Line 9:
  
 ===== Proposal ===== ===== 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.+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.
  
 ===== Caveat ===== ===== Caveat =====
Line 25: Line 25:
 ===== Patches and Tests ===== ===== Patches and Tests =====
 There's an open pull with tests: https://github.com/php/php-src/pull/6677 There's an open pull with tests: https://github.com/php/php-src/pull/6677
 +
 +===== Vote ======
 +Voting opened on 2020-07-06 and closes on 2020-07-21
 +
 +<doodle title="Add PDO function: mysqlGetWarningCount" auth="danielbeardsley" voteType="single" closed="false">
 +   * Yes
 +   * No
 +</doodle>
 +
  
rfc/pdo-mysql-get-warning-count.txt · Last modified: 2021/07/27 08:10 by salathe