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  


 [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] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!