Since Oracle understands a double precision floating point type, I added "double...
Jonathan Yu [Sat, 10 Jan 2009 02:49:06 +0000 (02:49 +0000)]
Per: http://www.ss64.com/orasyntax/datatypes.html [refer to the NUMBER section; double is an alias of that]
Closes: Bug #2100879 - http://sourceforge.net/tracker2/?func=detail&aid=2100879&group_id=47619&atid=450052

lib/SQL/Translator/Parser/Oracle.pm

index 374e186..9703f8b 100644 (file)
@@ -460,7 +460,7 @@ ora_data_type :
     |
     /long\s+raw/i { $return = 'long raw' }
     |
-    /(long|date|timestamp|raw|rowid|urowid|mlslabel|clob|nclob|blob|bfile|float)/i { $item[1] }
+    /(long|date|timestamp|raw|rowid|urowid|mlslabel|clob|nclob|blob|bfile|float|double)/i { $item[1] }
 
 parens_value_list : '(' VALUE(s /,/) ')'
     { $item[2] }