INF: Error Flushing by Driver Manager (110473)
The information in this article applies to:
- Microsoft Open Database Connectivity 1.0
This article was previously published under Q110473 SUMMARY
This article discusses how the Driver Manager calls a driver's
SQLError to flush the errors in the driver's error buffer. Chapter 16
of the ODBC SDK "Programmer's Reference" documents the ODBC convention
for error text, return codes, and rules for handling error conditions.
Under the Returning Error Messages section in chapter 16, it
reads:
Each time the application calls SQLError, the driver returns
the next error message in the buffer. When the application calls a
different function, the driver discards the current contents of the
error message buffer.
It is unclear from the last sentence whether the driver clears the current
error buffer on entry into the next function, or whether the Driver Manager
calls the driver to clear its error buffer before entry into the next
function.
This article explains how an application calls ODBC function B() after a
previous call to ODBC function A(), the Driver Manager actually calls the
driver's SQLError() first and then calls the driver's function B().
Modification Type: | Major | Last Reviewed: | 8/28/1999 |
---|
Keywords: | KB110473 |
---|
|