On Sun, 2007-10-28 at 14:03 +0000, Evans, Mark (Tandem) wrote: > The question is what is the lifetime of sqlite3_value objects passed as > argv array to the xFilter virtual table module call? Can I save the > pointers and reference the values for constraint testing in my > implementation of xNext?
No. They are only good until the xFilter() call returns. The popStack() near the bottom of the OP_VFilter opcode in vdbe.c will invalidate them. Dan. ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------