Article ID: 110473
Article Last Modified on 8/28/1999
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.
Application Driver Manager Driver
---------------------------------------------------------------------
A() ======> A() ======> A() = SQL_ERROR
= SQL_ERROR <====== <====== <====== Returns SQL_ERROR
//Application does not call SQLError()
B() ======> B()
SQLError() ======> SQLError()
Loop for clearing errors
<=======
DM calls Driver’s B()
======> =======> B() = SQL_SUCCESS
=SQL_SUCCESS <====== <====== <======= Returns SQL_SUCCESS
Keywords: KB110473