Michael Schlenker <[EMAIL PROTECTED]> wrote:
> 1. Is sqlite3_changes() reset to 0 when a new sqlite3_exec() is
> started?

May or may not. E.g. if you execute a SELECT statement it doesn't affect 
change count.

> 2. Does a PRAGMA index_list() manipulate sqlite3_changes() in any way?

I haven't tried it, but I don't see why it should.

> 3. How can i reset sqlite3_changes() manually if its not done on
> sqlite3_exec()?

"Reset" as in set to zero? Run a statement that is guaranteed not to 
touch any rows, e.g.

delete from sometable where 0;

Igor Tandetnik 



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

Reply via email to