-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 wcl...@gfs-hofheim.de wrote: > Is it possible / can it be possible to set the error message (as would > then be read by a call sqlite3_errmsg) from within a virtual table
Yes, see the zErrMsg member: http://sqlite.org/c3ref/vtab.html If non-null then you should free it first with sqlite3_free. Make sure you use sqlite3_malloc/sqlite3_mprintf to create the message. See also: http://www.sqlite.org/cvstrac/tktview?tn=2127 http://www.sqlite.org/cvstrac/tktview?tn=2215 Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksJiaoACgkQmOOfHg372QTOtACglIFrfVivwNH8Rhlylj3AGPGW D8UAoL0fJAKDdQBnSR1j/8p9WQXB8Eqp =cbUA -----END PGP SIGNATURE----- _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users