OLD | NEW |
1 *** Throughout this document, a page is deemed to have been synced | 1 *** Throughout this document, a page is deemed to have been synced |
2 automatically as soon as it is written when PRAGMA synchronous=OFF. | 2 automatically as soon as it is written when PRAGMA synchronous=OFF. |
3 Otherwise, the page is not synced until the xSync method of the VFS | 3 Otherwise, the page is not synced until the xSync method of the VFS |
4 is called successfully on the file containing the page. | 4 is called successfully on the file containing the page. |
5 | 5 |
6 *** Definition: A page of the database file is said to be "overwriteable" if | 6 *** Definition: A page of the database file is said to be "overwriteable" if |
7 one or more of the following are true about the page: | 7 one or more of the following are true about the page: |
8 | 8 |
9 (a) The original content of the page as it was at the beginning of | 9 (a) The original content of the page as it was at the beginning of |
10 the transaction has been written into the rollback journal and | 10 the transaction has been written into the rollback journal and |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 than one billion transactions. | 67 than one billion transactions. |
68 | 68 |
69 (11) A database file is well-formed at the beginning and at the conclusion | 69 (11) A database file is well-formed at the beginning and at the conclusion |
70 of every transaction. | 70 of every transaction. |
71 | 71 |
72 (12) An EXCLUSIVE lock must be held on the database file before making | 72 (12) An EXCLUSIVE lock must be held on the database file before making |
73 any changes to the database file. | 73 any changes to the database file. |
74 | 74 |
75 (13) A SHARED lock must be held on the database file before reading any | 75 (13) A SHARED lock must be held on the database file before reading any |
76 content out of the database file. | 76 content out of the database file. |
OLD | NEW |