Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0b4

Request #11389 Add MySQL 5.1 error codes (1582, ...)
Submitted: 2007-06-21 15:08 UTC
From: nilya Assigned: quipo
Status: Closed Package: MDB2_Driver_mysqli (version 1.4.1)
PHP Version: Irrelevant OS: All
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 30 + 16 = ?

 
 [2007-06-21 15:08 UTC] nilya (Ilya Nazarov)
Description: ------------ Please, add to error-code-map (MDB2_Driver_mysqli::errorInfo()) code 1582 ("Duplicate entry %s for key %s", equal to code 1062 "Duplicate entry %s for key %d"). Maybe need add other MySQL5.1 error codes? Some issue in MDB2_Driver_mysql. See error codes in http://dev.mysql.com/doc/refman/5.1/en/error-messages-server.html (MySQL 5.1 introduces new codes from 1473 to 1588)

Comments

 [2007-06-23 10:36 UTC] quipo (Lorenzo Alberton)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.