[JDBC] 0x79 packet, upgraded, then got fatal error.

Maraya Michael maraya-michael at dol.gov
Fri Jul 28 15:42:36 EDT 2000



  Is this part of the "Doesn't handle TDS_DONEINPROC packets correctly" 
defect?  It looks like it was only partially fixed last week.  Here's the 
output and stack trace when performing unit test t0032.java using MS SQL 
Server 6.5 / JDK 1.3.0(HotSpot Client VM):

Starting test t0032-  test sp_help sysusers
Executed the statement.  rc is true
About to call getResultSet
sysusers        dbo        system table         1996-04-03 03:38:57.387
Done processing the result set
About to call getMoreResults()
About to call getResultSet
system        
Done processing the result set
About to call getMoreResults()
About to call getResultSet
suid        smallint        2        5        0        no        (n/a)      
  (n/a)
uid        smallint        2        5        0        no        (n/a)       
 (n/a)
gid        smallint        2        5        0        no        (n/a)       
 (n/a)
name        sysname        30                        no        yes        
no
environ        varchar        -1                        yes        yes      
  no
Done processing the result set
About to call getMoreResults()
About to call getResultSet
No identity column defined.        null        null        
Done processing the result set
About to call getMoreResults()
About to call getResultSet
sysusers        clustered, unique located on system        suid        
ncsysusers1        nonclustered, unique located on system        name
ncsysusers2        nonclustered, unique located on system        uid
Done processing the result set
About to call getMoreResults()
About to call getUpdateCount()
Updated 1 rows
About to call getMoreResults()
java.sql.SQLException: Protocol confusion.  Got a 0x79 packet
        at 
com.internetcds.jdbc.tds.Statement.getMoreResults(Statement.java:623)
        at t0032.main(t0032.java:58)





More information about the FreeTDS mailing list