I am needing some clarification.

The documentation speaks that multiple SQL statements can be passed to
sqlite3_prepare_v2() which will only compile the first statement of the
stream.  Upon return, pzTail points to the first character of the next SQL
statement which has not been compiled.  From this, I assume that *pzTail
will be set to NULL after compiling the stream's last statement?

Also when processing multiple SQL statements, does sqlite3_reset() need to
be called before calling sqlite_prepare_v2() again using the last value of
pzTail as the next SQL statement to compile?

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

Reply via email to