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

Bug #9628 bug fix
Submitted: 2006-12-15 11:38 UTC
From: recca at seed dot net dot tw Assigned: alan_k
Status: Closed Package: DB_DataObject (version 1.8.5)
PHP Version: 4.4.4 OS:
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 : 18 - 6 = ?

 
 [2006-12-15 11:38 UTC] recca at seed dot net dot tw (recca)
Description: ------------ line 1366 of Generator.php current $res = $__DB->queryAll('DESCRIBE ' . $table,DB_FETCHMODE_ASSOC); fixed $options = &PEAR::getStaticProperty('DB_DataObject','options'); $query_method = ( empty($options['db_driver']) ? 'getAll' : 'queryAll');

Comments

 [2006-12-15 11:41 UTC] recca at seed dot net dot tw
line 1366 of Generator.php current $res = $__DB->queryAll('DESCRIBE ' . $table,DB_FETCHMODE_ASSOC); fixed $options = &PEAR::getStaticProperty('DB_DataObject','options'); $query_method = ( empty($options['db_driver']) ? 'getAll' : 'queryAll'); $res = $__DB->$query_method('DESCRIBE ' . $table,DB_FETCHMODE_ASSOC);
 [2006-12-15 12:02 UTC] recca at seed dot net dot tw
fixed $query_method = ($options['db_driver'] == 'DB')?'getAll':'queryAll');
 [2007-01-16 03:05 UTC] alan_k (Alan Knowles)
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. Thanks Alan