On 3/20/2012 2:05 PM, Wei Song 2 wrote:
Do you have any example of using sqlite3_mprintf() to create error messages
into *pzErrMsg?

There's not much to it:

if (pzErrMsg) {
  *pzErrMsg = sqlite3_mprintf("My error message: some parameter=%d", 42);
}

--
Igor Tandetnik

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

Reply via email to