On 11/03/2013 7:47 AM, Clemens Ladisch wrote:
James K. Lowden wrote:
I'm not sure how to manage the lifetime of ancillary data for a
user-defined function added by sqlite3_create_function ().
[...]
Suppose xStep doesn't fail, but another query is executing
simultaneously, also using the median() UDF.  I need one data structure
per context.  I don't see support for that in the SQLite API.
http://www.sqlite.org/c3ref/aggregate_context.html
Just be careful, because that API doesn't let you resize the allocation...

Ryan

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to