OLD | NEW |
1 The 5 states of an historical rollback lock as implemented by the | 1 The 5 states of an historical rollback lock as implemented by the |
2 xLock, xUnlock, and xCheckReservedLock methods of the sqlite3_io_methods | 2 xLock, xUnlock, and xCheckReservedLock methods of the sqlite3_io_methods |
3 objec are: | 3 objec are: |
4 | 4 |
5 UNLOCKED | 5 UNLOCKED |
6 SHARED | 6 SHARED |
7 RESERVED | 7 RESERVED |
8 PENDING | 8 PENDING |
9 EXCLUSIVE | 9 EXCLUSIVE |
10 | 10 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 (11j) READ_FULL RECOVER RECOVER | 121 (11j) READ_FULL RECOVER RECOVER |
122 (11k) WRITE READ READ | 122 (11k) WRITE READ READ |
123 (11l) PENDING UNLOCK UNLOCK | 123 (11l) PENDING UNLOCK UNLOCK |
124 (11m) PENDING CHECKPOINT CHECKPOINT | 124 (11m) PENDING CHECKPOINT CHECKPOINT |
125 (11n) CHECKPOINT UNLOCK UNLOCK | 125 (11n) CHECKPOINT UNLOCK UNLOCK |
126 (11o) RECOVER READ READ | 126 (11o) RECOVER READ READ |
127 | 127 |
128 These 15 transitions are all that needs to be supported. The lock | 128 These 15 transitions are all that needs to be supported. The lock |
129 manager implementation can assert that fact. The other 27 possible | 129 manager implementation can assert that fact. The other 27 possible |
130 transitions among the 7 locking states will never occur. | 130 transitions among the 7 locking states will never occur. |
OLD | NEW |