> If your internal code results in less data being read then you'll need to 
> keep repeating until you have the amount requested.
I'm confused, does you mean a xRead should NEVER return a 
"SQLITE_IOERR_SHORT_READ" ?

--
  Best Regards
  BaiYang
  baiy...@263.net.cn
  http://baiy.cn
**** < END OF EMAIL > ****

From: Roger Binns
Date: 2012-04-27 06:11
To: General Discussion of SQLite Database
Subject: Re: [sqlite] the xRead method in sqlite3_io_methods
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 26/04/12 14:54, BaiYang wrote:
> The new 'piRealAmt' could be used to report the actual read data,

Why?  The requirements are that you read the amount of data requested or
return an error.  If your internal code results in less data being read
then you'll need to keep repeating until you have the amount requested.

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

iEYEARECAAYFAk+ZyCYACgkQmOOfHg372QRDIQCgyo8nARHPfB3KUYjv/vpS5xWz
ZTkAni/JaeSFlNVJjO0xRHTqqtxCyVib
=cSZL
-----END PGP SIGNATURE-----
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to