From: Fabien Wernli Date: Thu, 25 Feb 2010 13:18:30 +0000 (+0000) Subject: float doesn't need to be forced to 126 either X-Git-Tag: v0.11008~53^2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=07720cf12b05aac9a0890055f802d3cb30f66983;p=dbsrgits%2FSQL-Translator.git float doesn't need to be forced to 126 either --- diff --git a/Changes b/Changes index bbe5476..6c6ad6d 100644 --- a/Changes +++ b/Changes @@ -2,7 +2,7 @@ # 0.11006 # ---------------------------------------------------------- * Fix Producer::Oracle varchar2 without size def (ORA-00906: missing right parenthesis) -* Fix Producer::Oracle translate float to float and double to float(126) +* Fix Producer::Oracle translate float and double to float instead of number # ---------------------------------------------------------- # 0.11005 2010-02-24 diff --git a/lib/SQL/Translator/Producer/Oracle.pm b/lib/SQL/Translator/Producer/Oracle.pm index a52ee1b..edf1bab 100644 --- a/lib/SQL/Translator/Producer/Oracle.pm +++ b/lib/SQL/Translator/Producer/Oracle.pm @@ -118,7 +118,7 @@ my %translate = ( # MySQL types # bigint => 'number', - double => [ 'float', 126 ], + double => 'float', decimal => 'number', float => 'float', int => 'number',