On 26 Aug 2009, at 11:42am, Zhanjun You wrote: > I have read the article " > http://www.sqlite.org/fileformat.html#journal_file_formats" and " > http://www.sqlite.org/fileformat.html#rollback_journal_method",but I > am even > more confused, anyone have some sample code for > rollback_journal_method.
You do not handle rollbacks by calling functions yourself, you do it by issuing SQL commands. Read http://www.sqlite.org/lang_savepoint.html ROLLBACK is a way to do something like 'undo' for SQL. You cannot turn this functionality off and use it for your own purposes. Simon. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users