OLD | NEW |
1 /* | 1 /* |
2 ** 2007 August 22 | 2 ** 2007 August 22 |
3 ** | 3 ** |
4 ** The author disclaims copyright to this source code. In place of | 4 ** The author disclaims copyright to this source code. In place of |
5 ** a legal notice, here is a blessing: | 5 ** a legal notice, here is a blessing: |
6 ** | 6 ** |
7 ** May you do good and not evil. | 7 ** May you do good and not evil. |
8 ** May you find forgiveness for yourself and forgive others. | 8 ** May you find forgiveness for yourself and forgive others. |
9 ** May you share freely, never taking more than you give. | 9 ** May you share freely, never taking more than you give. |
10 ** | 10 ** |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 } | 247 } |
248 | 248 |
249 /* | 249 /* |
250 ** Return the number of bytes required to store a JournalFile that uses vfs | 250 ** Return the number of bytes required to store a JournalFile that uses vfs |
251 ** pVfs to create the underlying on-disk files. | 251 ** pVfs to create the underlying on-disk files. |
252 */ | 252 */ |
253 int sqlite3JournalSize(sqlite3_vfs *pVfs){ | 253 int sqlite3JournalSize(sqlite3_vfs *pVfs){ |
254 return (pVfs->szOsFile+sizeof(JournalFile)); | 254 return (pVfs->szOsFile+sizeof(JournalFile)); |
255 } | 255 } |
256 #endif | 256 #endif |
OLD | NEW |