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

Request #11933 missing free and query executed twice even if the same
Submitted: 2007-08-29 16:19 UTC
From: purej Assigned: quipo
Status: Closed Package: MDB2_Driver_oci8 (version 1.4.1)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2007-08-29 16:19 UTC] purej (Jan Reitz)
Description: ------------ In Reverse/oci8.php in getTableIndexDefinition, line 219 There is a missing free() if the result from query 1 is not Errorous. Same File, line 209 $index_name_mdb2 = $db->getIndexName($index_name); If $index_name and $index_name_mdb2 are the same there is no need to make the aditional query. Both are fixed in attachment.

Comments

 [2007-09-09 13:36 UTC] quipo (Lorenzo Alberton)
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.