On 3/20/2012 11:11 AM, Wei Song wrote:
The following code is part of my sqlite extension code I used to
persist the ‘locale’ setting for a database. Based on this, I’ve
build a sqlite shell that I can set the locale value using pragma
statement. The question is:  how to raise errors

http://www.sqlite.org/cvstrac/wiki?p=LoadableExtensions

Extension initialization function (usually called sqlite3_extension_init) may provide an error message.

http://www.sqlite.org/c3ref/result_blob.html

A custom function may use sqlite3_result_error* to report an error.
--
Igor Tandetnik

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to