Ben. Your post was in spam.
Is your extension function an aggregate?
From https://www.sqlite.org/c3ref/get_auxdata.html "These functions may be
used by (non-aggregate) SQL functions..."
The trace hook API has some statement level modes you might hook for to
manage your cached data:
That should read sqlite3_create_function_v2
Am 22.11.17, 00:03 schrieb "sqlite-users im Auftrag von Stadin, Benjamin"
:
dms_create_function_v2
___
Hi,
I register a custom SQL function using dms_create_function_v2, and in the C
callback I create a rather heavy C++ helper class which I need to prepare the
result.
I currently use sqlite3_get_auxdata and sqlite3_set_auxdata, but my problem is
that the finalization callback of
3 matches
Mail list logo