On 8 Mar 2011, at 12:55pm, Igor Tandetnik wrote:

> Simon Slavin <slav...@bigfraud.org> wrote:
>> If absolutely necessary you might want to set a long BLOB up piece by piece. 
>>  In that case you would use
>> 
>> int sqlite3_blob_write(sqlite3_blob *, const void *z, int n, int iOffset);
>> 
>> to add things to it, and SQLite is responsible for keeping track of how long 
>> it is so far.
> 
> This is not the way it works. The size of the blob is still fixed up front 
> (usually with sqlite3_bind_zeroblob). sqlite3_blob_write can only update 
> parts of it in place, it cannot change the size.

Thanks for the correction.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to