On Dec 16, 2009, at 4:10 PM, Nicolas Rivera wrote: > Hi, > > I think I am missing something really simple (some macro or > something), > because I cannot make sqlite3_complete() to return anything other > than 1. > > Even when I pass it "" (an empty string), it still returns 1. I even > tried to call sqlite3_initialize() before (although to my knowledge > this > is not necessary), > and I still get 1 with an empty string. >
sqlite3_complete("/* unterminated comment"); sqlite3_complete("SELECT 'unterminated string;"); sqlite3_complete("CREATE TRIGGER unfinished_trigger"); D. Richard Hipp d...@hwaci.com _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users