Michael Roth wrote:
what are the purpose of sqlite3_set_auxdata() and sqlite3_get_auxdata()?
Are they part of the API? They are don't mentioned in the documentation,
IIRC.
These routines are designed to provide persistence of meta-data
on arguments to SQL functions. For example, to implement a REGEXP
function, we'd like to compile the regular expression into some
kind of binary data structure. And we'd like to reuse that compiled
binary structure on subsequent calls to REGEXP for which the
regular expression does not change. sqlite3_set_auxdata() and
sqlite3_get_auxdata() are designed to facilitate that. They are
not currently used. I'll document them when they come into use.
--
D. Richard Hipp -- [EMAIL PROTECTED] -- 704.948.4565