Totally worthless patch !!

Does not work with single result sets.

My apologies.

 


From: squirrel-sql-users-admin@lists.sourceforge.net [mailto:squirrel-sql-users-admin@lists.sourceforge.net] On Behalf Of Gupta, Abhishek
Sent: Wednesday, November 02, 2005 2:45 PM
To: squirrel-sql-users@lists.sourceforge.net
Subject: [Squirrel-sql-users] multiple result sets problem

 

Hello,

 

I was having some problems getting sql to return multiple result sets.

I am using jTDS 1.1 driver to connect to Sybase 12.5 server.

 

After debugging the problem seems that the getMoreResults method can change the updateCount. So getUpdateCount should be called after getMoreResults.

 

This can solve this problem on Sybase but I am not sure about other databases.

 

I made the changes as in the attached patch for this to work. The patch is against the latest snapshot zip file.

 

Thanks

Abhishek