Simon Slavin-3 wrote:
>
>
> 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.
>
So.. It's not possible to change the size of the blob field?
I have different problem related to this subject:
i wrote some code that put blob data (i declared a string and pass it with
(char*) to the buffer i send to the blob).
The problem is that it takes only 32 bytes of that string.. what with the
rest of the string? why does it cut it?
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
--
View this message in context:
http://old.nabble.com/Storing-data-with-SQLite-tp31096174p31097244.html
Sent from the SQLite mailing list archive at Nabble.com.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users