StyveA <styve.at...@technicolor.com> wrote:
> I tried with your tips, and I've seen that I was missing the call of my
> callback function, and now the segfault is in it..

Personally, I vastly prefer sqlite3_step / sqlite3_column* interface to 
sqlite3_exec. I never use the latter except for one-liner statements like BEGIN 
or COMMIT - certainly not for SELECT statements. I strongly suggest you try it 
this way.

Is it possible that some NULL values ended up in the database during your prior 
unsuccessful attempts? In this case, argv[i] would be NULL, and then memcpy 
would crash. Delete the database file, start from scratch.
-- 
Igor Tandetnik

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

Reply via email to