Le 4 juil. 05, =E0 14:15, Rob Manning a =E9crit :
> Xavier Vigouroux wrote:
>
>> Hi,
>>
>> It seems that the checkbox (Properties -> SQL -> Show SQL Result =
=20
>> MetaData) is not working. When I uncheck it, I still have the meta=
=20
>> data fetched.
>>
>> Am I understanding correctly the role of this box.
>>
> Xavier,
>
> Yes, that appears to me to be a bug. I filed a bug (1232170) for th=
is.
>
> Gerd,
>
> Would you like to have a look at the attached patch to address this=
=20
> issue?
>
Hi, thanks
It's hard for me to test the patch (even if it seems to be short) as =
I =20
use the jar files. furthermore, I use a modified version solving my =
=20
"derby closed resultset" problem.
If I find time to test it, I'll do it, but do not wait for me.
Congratulations for the reactivity.
XFV
>
> Rob
>
>
>
>
>
>
> CollabraSpace - Revolutionary Collaboration
> Visit us at http://www.collabraspace.com
> This message has been scanned for viruses by
> ClamAV v0.83
>
>
> Index: SQLResultExecuterPanel.java
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
> RCS file: =20
> /cvsroot/squirrel-sql/sql12/app/src/net/sourceforge/squirrel_sql/=
=20
> client/session/mainpanel/SQLResultExecuterPanel.java,v
> retrieving revision 1.10
> diff -u -r1.10 SQLResultExecuterPanel.java
> --- SQLResultExecuterPanel.java=093 Jul 2005 21:39:40 -0000=091.10
> +++ SQLResultExecuterPanel.java=094 Jul 2005 12:07:12 -0000
> @@ -913,7 +913,9 @@
> =09=09=09try
> =09=09=09{
> //=09=09=09=09rsds.setResultSet(rs, props.getLargeResultSetObjectI=
nfo());
> - rsmdds =3D new ResultSetMetaDataDataSet(rs);
> + if (props.getShowResultsMetaData()) {
> + rsmdds =3D new ResultSetMetaDataDataSet(rs);
> + }
> =09=09=09=09rsds.setResultSet(rs);
> =09=09=09}
> =09=09=09catch (DataSetException ex)
>
--=20
Xavier VIGOUROUX - sun microsystems
|