#1585: Oracle building model fails due to "precision" element
----------------------------+-----------------------------------------------
Reporter: tchakkapark | Owner: jwage
Type: defect | Status: new
Priority: minor | Milestone: 1.1.0
Component: Import/Export | Version: 1.1-DEV
Resolution: | Keywords: oracle build-model precision
build-schema
Has_test: 0 | Mystatus: Pending Core Response
Has_patch: 1 |
----------------------------+-----------------------------------------------
Changes (by tchakkapark):
* has_patch: 0 => 1
Comment:
Proposed Patch:
/Import/Oracle.php, line 146 (changset 5110):
{{{
$descr[$val['column_name']] = array(
'name' => $val['column_name'],
'notnull' => (bool) ($val['nullable'] === 'N'),
'ntype' => $val['data_type'],
'type' => $decl['type'][0],
'alltypes' => $decl['type'],
'fixed' => $decl['fixed'],
'unsigned' => $decl['unsigned'],
'default' => $val['data_default'],
'length' => $val['data_length'],
'precision' => $val['data_precision'], //Remove this line
'scale' => $val['scale'],
);
}
}}}
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1585#comment:3>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---