2009/8/26 Zhanjun You <youzhan...@gmail.com>:
> hello all,
>        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.

>From http://www.sqlite.org/docs.html
"SQLite File Format
A description of the format used for SQLite database and journal
files, and other details required to create software to read and write
SQLite databases without using SQLite. "

Your subject line suggests that you are just concerned with rollback
from the journal, not writing your own SQLite file writer.

SQLite takes care of all the details for you. It will use the journal
should it be necessary to do so when it opens the database file.

See section 4.0 (Rollback) in http://www.sqlite.org/atomiccommit.html

>
> thanks.
>
> simon

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

Reply via email to