How to commit a SQLite transaction in C/C++?
问题 I am using sqlite c/c++ interface. I have 3 tables (related tables) say A, B, C. Now, there is a function called Set , which get some inputs and based on the inputs inserts rows into these three tables. (sometimes it can be an update in one of the tables) Now I need two things. One, i dont want autocommit feature. Basically I would like to commit after every 1000 calls to Set function Secondly, within the set function itself, if i find that after inserting into two tables, the third insert