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  
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 : 39 + 38 = ?

 
 [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.