On 1/6/2013 7:10 PM, Walter wrote:
   sqlite3_prepare16_v2 (vMdb, ws.c_str (), ws.size (), &stmt, &tail);

The third parameter of sqlite3_prepare16_v2 is the length of the string *in bytes*, not in characters. You are effectively passing only half the statement.
--
Igor Tandetnik

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

Reply via email to