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)    

 [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


 [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 by the end of next Sunday (CET). If this was a problem with the 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.