Should issues with the documentation (i.e., missing/unclear things) be reported to this mailing list too?
Specifically, something that was unclear to me while implementing my own
aggregate function is what happens if sqlite3_result_error() is called and
another result functions gets called afterwards. So, suppose we have:
void stepfun(sqlite3_context *ctxt, int nArgs, sqlite3_value **args)
{
... random code here...
sqlite3_result_error(ctxt, "Something went bad!", -1);
...more random code...
sqlite3_result_int(ctxt, 42);
return;
}
Would the overall function still report an error or would the call to
sqlite3_result_int overwrite the earlier error and have it return successfully
again?
Cheers,
Merijn
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

