Thanks..
dumb error, but i did it..
:-)

Simon Davies wrote:
> 
> On 9 March 2011 08:54, liran ritkop <rejt...@bgu.ac.il> wrote:
>>
> .
> .
> .
>>
>> I upload a file which contain the important lines in my code.
>> The result in the blob data, as i said, is 32 bytes, which means 32
>> chars:
>> 0123456789:;<=>?@ABCDEFGHIJKLMNO
>> http://old.nabble.com/file/p31104442/toUpload.c toUpload.c
>> As you can see i dont have a null at the end but the char 'P' is
>> missing..
>>
> 
> From your code:
> <<
>     buf = (char*) str;
>     len = sizeof(buf) * 8;
> .
> .
>               retval2 = sqlite3_bind_blob(stmt, 1, buf, len, NULL);
>>>
> 
> len == 32
> 
> Regards,
> Simon
> _______________________________________________
> 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-tp31096174p31104845.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

Reply via email to