Re: [sqlite] Error messages from user-defined functions calling sqlite3_result_error() requires sqlite3_finalize?

2011-10-27 Thread Jean-Christophe Deschamps
Fixed here: http://www.sqlite.org/src/info/8f88cc4e61 If you use sqlite3_prepare_v2() to prepare the statement, the custom error message will now be available after sqlite3_step() returns. Many thanks Dan. ___ sqlite-users mailing list

Re: [sqlite] Error messages from user-defined functions calling sqlite3_result_error() requires sqlite3_finalize?

2011-10-27 Thread Dan Kennedy
On 10/27/2011 07:12 AM, Peter Aronson wrote: This may be a known thing, but I can't find anything on it on-line. I finally figured out a solution by examining the code to shell.c. OK, I have a user-defined function in an extension that calls sqlite3_result_error() when an out-of-bounds

Re: [sqlite] Error messages from user-defined functions calling sqlite3_result_error() requires sqlite3_finalize?

2011-10-26 Thread Peter Aronson
Re: [sqlite] Error messages from user-defined functions calling > sqlite3_result_error() requires sqlite3_finalize? > > Funny coincidence in time, I just posted on the same subject while your > post was being received! > > ___ > s

Re: [sqlite] Error messages from user-defined functions calling sqlite3_result_error() requires sqlite3_finalize?

2011-10-26 Thread Jean-Christophe Deschamps
Funny coincidence in time, I just posted on the same subject while your post was being received! ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

[sqlite] Error messages from user-defined functions calling sqlite3_result_error() requires sqlite3_finalize?

2011-10-26 Thread Peter Aronson
This may be a known thing, but I can't find anything on it on-line.  I finally figured out a solution by examining the code to shell.c. OK, I have a user-defined function in an extension that calls sqlite3_result_error() when an out-of-bounds argument is passed in.  I called