From: Fabien Wernli Date: Wed, 24 Feb 2010 14:48:18 +0000 (+0000) Subject: double and float thou shall now be float X-Git-Tag: v0.11008~59 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3c8c112951fb886e692003740dbdfda31d9615ac;p=dbsrgits%2FSQL-Translator.git double and float thou shall now be float --- diff --git a/lib/SQL/Translator/Producer/Oracle.pm b/lib/SQL/Translator/Producer/Oracle.pm index 67e672c..ff0e179 100644 --- a/lib/SQL/Translator/Producer/Oracle.pm +++ b/lib/SQL/Translator/Producer/Oracle.pm @@ -118,9 +118,9 @@ my %translate = ( # MySQL types # bigint => 'number', - double => 'number', + double => [ 'float', 126 ], decimal => 'number', - float => 'number', + float => 'float', int => 'number', integer => 'number', mediumint => 'number', @@ -184,6 +184,7 @@ my %translate = ( # my %max_size = ( char => 2000, + float => 126, nchar => 2000, nvarchar2 => 4000, number => [ 38, 127 ],