Re: Iterator UDRs
Posted in 2000
Paul Brown — — source: Informix-list mailing list archive (1991-1998)
toledodba25@my-deja.com wrote: > In an iterator function I'm using, there is a scenario where I call > mi_fp_setisdone(fParam, MI_TRUE); in the SET_INIT iteration, but the > next iteration falls into SET_RETONE, not SET_END. Is there no way of > keeping it from doing this? No. When I need to do this, I pass a special value in the mi_fp_funcstate() structure. The engine always calls the iterator with SET_RETONE at least once. The purpose of the SET_INIT is merely to set up for the subsequent run.