From: Jonathan Yu Date: Sat, 10 Jan 2009 02:49:06 +0000 (+0000) Subject: Since Oracle understands a double precision floating point type, I added "double... X-Git-Tag: v0.11008~260 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=60979a72c993943ff211c8ad0883f48bd1d63801;p=dbsrgits%2FSQL-Translator.git Since Oracle understands a double precision floating point type, I added "double" to the ora_data_type file. 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 --- diff --git a/lib/SQL/Translator/Parser/Oracle.pm b/lib/SQL/Translator/Parser/Oracle.pm index 374e186..9703f8b 100644 --- a/lib/SQL/Translator/Parser/Oracle.pm +++ b/lib/SQL/Translator/Parser/Oracle.pm @@ -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] }