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

Bug #2565 Generator does not recognize oracle NUMBER type
Submitted: 2004-10-19 09:55 UTC
From: schnirkel at gmx dot at Assigned: alan_k
Status: Closed Package: DB_DataObject
PHP Version: 4.3.8 OS: Linux Redhat 9
Roadmaps: (Not assigned)    
Subscription  


 [2004-10-19 09:55 UTC] schnirkel at gmx dot at
Description: ------------ Using Generator v1.71 with an Oracle 9.2.1 database, I get datatype MYSQLTIMESTAMP for NUMBER columns. Reproduce code: --------------- Patched it inserting the following row after rownum 319 case 'NUMBER': bigger sample to get the picture case 'DECIMAL': case 'NUMERIC': case 'NUMBER': $type = DB_DATAOBJECT_INT; // should really by FLOAT!!! / MONEY... break; case 'YEAR':

Comments

 [2004-10-20 04:06 UTC] alan_k
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.