[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
| 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 11: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.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 2205.1 |  | ukvms3.uk.oracle.com::PJACKSON | Oracle UK Rdb Support | Mon May 19 1997 12:24 | 4 | 
|  |     Note 2152 might be related. The fix for that (see 2152.16) might fix
    this as well.
    
    Peter
 |