Subject | RE: [IBO] Why no callback for tib_dsql? |
---|---|
Author | Jason Wharton |
Post date | 2006-01-21T22:49:28Z |
> I was going to add a callback to a tib_dsql object for someThe callback is only on datasets because the callbacks are between fetch
> SQL statements that take a particularly long time to run, so
> that I can show the user a progress bar. However, I noticed
> that tib_dsql does not have a calback event. Why is that?
>
> My idea was to switch to tib_query, but I was wondering if
> the callback would even work for non-select queries. Does
> the callback work with Update statements? How about
> schema-changing statements, such as index creation, etc.?
operations on the server. When using TIB_DSQL there are no opportunities to
produce callbacks. It's actually a little misrepresentative to call them
callbacks because it isn't the server actually facilitating client
interruption via callbacks. It is purely a callback from the IBO core
fetching routines only.
Jason