From: <pj...@us...> - 2009-08-06 05:10:48
|
Revision: 6633 http://jython.svn.sourceforge.net/jython/?rev=6633&view=rev Author: pjenvey Date: 2009-08-06 05:10:26 +0000 (Thu, 06 Aug 2009) Log Message: ----------- include precision/scale in NUMERIC/TINYINT metadata Modified Paths: -------------- trunk/jython/src/com/ziclix/python/sql/Fetch.java Modified: trunk/jython/src/com/ziclix/python/sql/Fetch.java =================================================================== --- trunk/jython/src/com/ziclix/python/sql/Fetch.java 2009-08-04 23:56:50 UTC (rev 6632) +++ trunk/jython/src/com/ziclix/python/sql/Fetch.java 2009-08-06 05:10:26 UTC (rev 6633) @@ -268,10 +268,12 @@ case Types.BIGINT: case Types.BIT: case Types.DECIMAL: + case Types.NUMERIC: case Types.DOUBLE: case Types.FLOAT: case Types.INTEGER: case Types.SMALLINT: + case Types.TINYINT: a[4] = Py.newInteger(meta.getPrecision(i)); a[5] = Py.newInteger(meta.getScale(i)); break; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |