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

Bug #6550 Notice: undefined offset
Submitted: 2006-01-22 15:42 UTC
From: reg at dav-muz dot net Assigned: lsmith
Status: Closed Package: MDB2_Driver_mysql
PHP Version: 4.4.0 OS: Linux Slackware 10.2
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 : 39 - 5 = ?

 
 [2006-01-22 15:42 UTC] reg at dav-muz dot net
Description: ------------ MDB2 2.0.0RC4 beta MDB2_Driver_mysql 0.2.3 beta MDB2_Schema 0.4.2 beta MySQL version: 4.1.14 Notice: Undefined offset: 1 in pear/MDB2/Driver/mysql.php on line 570 Test script: --------------- Use a MySQL database with MySQL version like x.x.xx and not like x.x.xx-x Expected result: ---------------- Dump of $server_info, $tmp and $tmp2 in pear/MDB2/Driver/mysql.php on line 570: Same as actual result but without a notice error, that decrease performances and display unuseful errors in the log file. Actual result: -------------- Dump of $server_info, $tmp and $tmp2 variables in pear/MDB2/Driver/mysql.php on line 570: $server_info: 'major' => 4 'minor' => 1 'patch' => 14, 'extra' => null 'native' => array() $tmp: 0 = 4 1 = 1 2 = 14 $tmp2: 0 = 14

Comments

 [2006-01-22 18:30 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.