[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference orarep::nomahs::sql_services

Title:SQL/Services Forum
Notice:kits(3) ft info(7) QAR access (8) SPR access (10)
Moderator:SQLSRV::MAVRIS
Created:Thu Oct 13 1988
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2214
Total number of notes:8586

2205.0. "Problems with API call to sqlsrv_sqlca_count" by UKVMS3::RVIRR (High cost of ownership...) Mon May 19 1997 15:37

A cust is having problems calling the above api routine, if the number of rows
touched is greater than 32K the routine returns a negative number, ie an error.  

I understand this routine is a bit of C that looks at SQLCA.ERRD[2].  However it
looks like the variable used to hold the value is a signed int and it over-flows
at 32k. 
 
I advised the cust to make a direct reference to SQLCA.ERRD[2], there is even
the code for this one of the old manuals.  This works fine, but I wanted to know
if my assumption is correct and will it be fixed in a future release?

	Thanks,
		Rich.
T.RTitleUserPersonal
Name
DateLines
2205.1ukvms3.uk.oracle.com::PJACKSONOracle UK Rdb SupportMon May 19 1997 16:244
    Note 2152 might be related. The fix for that (see 2152.16) might fix
    this as well.
    
    Peter