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

Bug #8355 bug in _verifyTableType()
Submitted: 2006-08-04 04:46 UTC
From: ehlersd Assigned: lsmith
Status: Closed Package: MDB2_Driver_mysqli (version 1.2.0)
PHP Version: Irrelevant OS: n/a
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 : 5 - 3 = ?

 
 [2006-08-04 04:46 UTC] ehlersd (Darren Ehlers)
Description: ------------ The problem is in line #99 of the file: ~/Driver/Manager/mysqli.php The current line reads: $old_query = ($server_info['major'] < 4 && $server_info['minor'] < 1 && $server_info['patch'] < 2); My server is running MySQL v3.23.58, so while it should be treated as not having the "SHOW STORAGE ENGINES", it is instead evaluating as a newer version. I believe the conditional line SHOULD read: $old_query = ($server_info['major'] < 4) || (($server_info['major'] == 4) && (($server_info['minor'] < 1) || (($server_info['minor'] == 1) && ($server_info['patch'] < 2))));

Comments

 [2006-08-04 05:45 UTC] lsmith (Lukas Smith)
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.