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

Bug #10340 Invalid SQL query to create TRIGGER
Submitted: 2007-03-12 16:13 UTC
From: xgarcia Assigned: quipo
Status: Closed Package: MDB2_Driver_oci8 (version CVS)
PHP Version: 4.3.10 OS: either
Roadmaps: (Not assigned)    
Subscription  


 [2007-03-12 16:13 UTC] xgarcia (Xavier Garcia)
Description: ------------ The SQL query in _makeAutoincrement has missing information and raise an ORA-24344: success with compilation error Test script: --------------- I hope that this can be a correct solution... In line 200 of Driver/Manager/oci8.php - SELECT :NEW.id INTO last_Insert_ID FROM DUAL; + SELECT :NEW.'.$name.' INTO last_Insert_ID FROM DUAL;

Comments

 [2007-03-12 16:40 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.