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

Bug #2434 typo in source code
Submitted: 2004-10-01 20:06 UTC
From: vincent dot dupont at ausy dot be Assigned: lsmith
Status: Closed Package: MDB
PHP Version: 4.3.4 OS: Win2k
Roadmaps: (Not assigned)    
Subscription  


 [2004-10-01 20:06 UTC] vincent dot dupont at ausy dot be
Description: ------------ A typo occured in the source code for MDB 1.3.0 MDB::Manager_oci8.php Reproduce code: --------------- function listTables(&$db) { $query = 'SELECT table_name FROM sys.user_tables'; return($db->queryCol($sql)); } should be written function listTables(&$db) { $query = 'SELECT table_name FROM sys.user_tables'; return($db->queryCol($query)); } - note the difference in queryCol($sql) to queryCol($query) Expected result: ---------------- This function should return a array, but returns an error because $sql is not set in queryCol

Comments

 [2004-10-01 20:34 UTC] smith at backendmedia dot com
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.