From: <pj...@us...> - 2009-03-30 19:58:09
|
Revision: 6127 http://jython.svn.sourceforge.net/jython/?rev=6127&view=rev Author: pjenvey Date: 2009-03-30 19:57:57 +0000 (Mon, 30 Mar 2009) Log Message: ----------- description[0] should be the label, not name pointed out by Mike Bayer 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-03-30 19:55:09 UTC (rev 6126) +++ trunk/jython/src/com/ziclix/python/sql/Fetch.java 2009-03-30 19:57:57 UTC (rev 6127) @@ -259,7 +259,7 @@ for (int i = 1; i <= meta.getColumnCount(); i++) { PyObject[] a = new PyObject[7]; - a[0] = Py.newString(meta.getColumnName(i)); + a[0] = Py.newString(meta.getColumnLabel(i)); a[1] = Py.newInteger(meta.getColumnType(i)); a[2] = Py.newInteger(meta.getColumnDisplaySize(i)); a[3] = Py.None; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |