sqlite3_errmsg(db) does not provide the correct error message but sqlite_exec(...) does. I have attached my test code. You can compile it by doing below:
gcc x.c -lsqlite3
_______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users