Re: [sqlite] sqlite3_set_auxdata and sqlite3_get_auxdata?

2004-08-20 Thread D. Richard Hipp
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


[sqlite] sqlite3_set_auxdata and sqlite3_get_auxdata?

2004-08-20 Thread Michael Roth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello list,
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.
Thank you.
Michael Roth
-BEGIN PGP SIGNATURE-
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBJi9tSIrOxc3jOmoRAh40AKCCb/UWyTTfkn24JX/pm2uW1XxkEQCgj2wG
7t9DBX1B/7Ulpo48y3im5eY=
=KjV/
-END PGP SIGNATURE-