[Fdo-trac] [fdo-trac] #882: Error with operation on Number without scale

FDO trac_fdo at osgeo.org
Tue Mar 4 08:08:59 PST 2014


#882: Error with operation on Number without scale
-----------------------------------+----------------------------------------
   Reporter:  bscott               |       Owner:  haris
       Type:  defect               |      Status:  new  
   Priority:  minor                |   Milestone:  3.8.0
  Component:  KingOracle Provider  |     Version:  3.8.0
   Severity:  3                    |    Keywords:       
External_id:                       |  
-----------------------------------+----------------------------------------
 Lets say you have a table with
 Col1 and col2 define as number without scale.
 I know it is not a good habit of doing that but it's not my database:-(

 If i try a sql statement like this
 "Select col1 + col2 from MyTable"
 This make the provider throw an exception

 I have found the problem and i'v attached a little patch
 oci return a 0 scale and the provider try to fit a big double into an
 int16... boom

 It would be great if we could include this patch into the 3.9 time frame

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/882>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list