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

Reply via email to