On Mon, 11 Mar 2013 12:47:02 +0100 Clemens Ladisch <clem...@ladisch.de> 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 (). > > http://www.sqlite.org/c3ref/aggregate_context.html > > > Will xStep be called again after it raises an error? > > xStep does not raise an error. Set a flag, and return an error in > xFinish. Many thanks, Clemens. That does the trick nicely. --jkl _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users