On 11/18/20 7:49 PM, Dimitry Sibiryakov wrote:
Hello All.
How long pointer returned from IStatus::getErrors() is supposed to
be valid?
Until the next call of init()?
Until the next call of setErrors()?
Until the next call of getErrors()?
Always supposed that until any call, changing IStatus (i.e. init(),
setErrors() ot even setWarnings() in general case though in current
implementation errors and warnings are independent). getErrors() should
not invalidate previously returned pointer, but... telling true only in
current implementation. I can imagine a way to write a code whith which
old ptr becomes wrong.
A.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel