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

Bug #10337 The manager object it's missing in _makeAutoincrement function
Submitted: 2007-03-12 12:58 UTC
From: xgarcia Assigned: quipo
Status: Closed Package: MDB2_Driver_oci8 (version 1.3.0)
PHP Version: 4.3.10 OS: linux
Roadmaps: (Not assigned)    
Subscription  


 [2007-03-12 12:58 UTC] xgarcia (Xavier Garcia)
Description: ------------ I get a call to non-existing object error doing an updateDatabase call. [possible solution below] But after solving this, I have another problem with the trigger creation, oracle raises a OCI_SUCCESS_WITH_INFO: ORA-24344: success with compilation error The same SQL code MDB2 generate to create the trigger, running in sql plus compiles fine without errors Test script: --------------- In function _makeAutoincrement if I insert a $db->loadModule('Manager', null, true); in the Driver/manager/oci8.php file at line 150, after the $db initialization, the problem dissapears.

Comments

 [2007-03-12 13:09 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.