-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/08/13 01:45, techi eth wrote:
> What is the maximum size error string returned by sqlite3_errmsg()
> function

You need to make a copy of the string since it can be changed at any time,
including by other threads.

In practise it will usually be less than 100 bytes, and sometimes a bit
more.  In theory it could be up to 2GB (sizeof int sqlite3_malloc
parameter). Some strings are constructed from input including database,
table, constraint, and column names, and parts of queries.  Extensions,
user defined functions, virtual tables etc can also generate arbitrary
messages.

Roger

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlIIrLsACgkQmOOfHg372QS2pACeK5gt9bOdk9dX3gM+kxhYt6xA
MxQAnRLb4yMHdNEV6RpV0MbFUQVteNJ/
=gJrr
-----END PGP SIGNATURE-----
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to