Reporting documentation issues/unclarity?

Merijn Verstraaten <[email protected]>
Newsgroups gmane.comp.db.sqlite.general
Message-ID <[email protected]>
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

_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEs2xuEwXfu71sjsQ9OG0IFpDb2UAFAl4ndSIACgkQOG0IFpDb
2UAc9g/9FwlrNwZhIAp6OdyDF8kNF/1JlObTY6QrsSPlNI6wHwkvrSbKQSvXhhAN
2lLRbgcc0li421/MlxyDEeEiQBa6Ntvk2ZpjrFRrZn9TUmfImqqBHgEcJ7+qcSof
waiF4705OFPeuT5uBELfT5YRFEMuu/wkKQHGdtdDpiujaGCc/QeAuAePP4Hr+oMU
V6W8FkkvhWQ58o3yBgwEyjeGBCEFXn7njJE1HCIID6/6kMI3uH9N29+0xbDo5vKi
BWDNPR3XiEhTjALhoSem4B6/USMVCcQlTQd1Q52QKNp6Q19NW+yq03NI2QB3WXc6
GHknw49a1Vx0b/qJcucZ4/YINacVHNn/IhtMTEpJTexJZh/U4D1lOOIYYrhsPyHw
Jt8FlaBd4g4Jai/JTvacbh/rTLhluHjJ1GujjAltL22j7fq1G/waICF/wxYQP5Zm
50ZjTP2KaQhNEHPga6TSFJkPa2akW10uTqNJivZqmqhmgxhG0qut9KvylPZTRfPE
dtWyHIWjL1NoeLRsboiQzV7cSEcjZHAY0O+rH5rq5vN1f7awmXbUhRK5nVuls2qc
6yWR43qitfc/iI2oVuqRMJzo3o2CVdxcuYbNGk3M+Q99LdYfzzcwD7Ec71B4y4jt
ai+g6X8UAl8SdSrsWvJ/7MWilb0OvgVvh7yGK176o7h4JS9qmlk=
=WOrN
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.