Black, Michael (IS) wrote:
>
> Do I understand you're still seeing a segfault? I assume you're not
> seeing your "Year retrieved..." statement?
>
> You haven't showed us your table definition.
>
> Change your strcmp to strcasecmp and see if that fixes it for you.
>
> Michael D. Black
>
> Senior Scientist
>
> NG Information Systems
>
> Advanced Analytics Directorate
>
>
Yes I was still seeing a segfault but that's ok, I don't know exactly what
was the error 'case I've just added "int data" and replaced :
memcpy(&blob, argv[i], sizeof(blob));
by
memcpy(&data, argv[i], sizeof(blob)); (as well for the printf)
and it works fine.. strange.. maybe I need to make an
sqlite3_exec(RESET,...) ?
recompiled the code and it works well now..
but thanks a lot :)
Best regards,
--
Styve
--
View this message in context:
http://old.nabble.com/Blob-newbie-problem-tp31602374p31602911.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