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
rfc:pdo-mysql-get-warning-count [2021/04/05 19:14] danielbeardsleyrfc:pdo-mysql-get-warning-count [2021/07/27 08:10] (current) – fix voting dates (2020 -> 2021) salathe
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: Declined (Abandoned)
  
 ===== 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 2021-07-06 and closes on 2021-07-21
 +
 +<doodle title="Add PDO function: mysqlGetWarningCount" auth="danielbeardsley" voteType="single" closed="true">
 +   * Yes
 +   * No
 +</doodle>
 +
  
rfc/pdo-mysql-get-warning-count.1617650040.txt.gz · Last modified: 2021/04/05 19:14 by danielbeardsley