On 16 Jan 2011, at 4:30pm, Navaneeth.K.N wrote: > Thanks everyone for the help. I fixed my code and it is working fine. > > However, I am wondring why the function (sqlite3_bind_text) don't > respect NULL character in the string and stop reading when it find > one?
Because C doesn't really have a 'string' type. Sorry. You could argue that it's a bug but at least the sqlite3 documentation is very clear on that the following integer parameter is for: http://www.sqlite.org/c3ref/bind_blob.html Simon. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users