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

Bug #6487 typo in getTableConstraintDefinition()
Submitted: 2006-01-13 16:02 UTC Modified: 2006-01-13 17:48 UTC
From: wiesemann Assigned: lsmith
Status: Closed Package: MDB2_Driver_mysqli
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2006-01-13 16:02 UTC] wiesemann
Description: ------------ typo in getTableConstraintDefinition(): if (!$row['non_unique']) { should be: if ($row['non_unique']) { (then it's compliant with MySQL driver and my tests work) Patch: www.markwiesemann.de/php/MDB2/MDB2_Reverse_mysqli.patch The patch also removes two 'bogus' comments that are left-overs from copy&paste from PEAR DB.

Comments

 [2006-01-13 17:48 UTC] lsmith
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.