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

Some methods such as xRead return an error that is sometimes considered
a success such as SQLITE_IOERR_SHORT_READ.  This significantly
complicates things in wrappers as sqlite errors map to exceptions, and
so sometimes they need to be cleared and sometimes not.

A better alternative would be for xRead/xWrite etc to take an out
parameter of how much they read/wrote.  That way something other than
SQLITE_OK will only be returned when there is an actual error.

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

iD8DBQFIJfzGmOOfHg372QQRAuPUAJ41AbcXC413+Y4YENcmXL/TtpqQWwCgqs7w
UaozKlcGKaLEy2YRAEiQEj4=
=hUsx
-----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