OLD | NEW |
1 /* | 1 /* |
2 ** 2008 October 7 | 2 ** 2008 October 7 |
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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 int sqlite3IsMemJournal(sqlite3_file *pJfd){ | 246 int sqlite3IsMemJournal(sqlite3_file *pJfd){ |
247 return pJfd->pMethods==&MemJournalMethods; | 247 return pJfd->pMethods==&MemJournalMethods; |
248 } | 248 } |
249 | 249 |
250 /* | 250 /* |
251 ** Return the number of bytes required to store a MemJournal file descriptor. | 251 ** Return the number of bytes required to store a MemJournal file descriptor. |
252 */ | 252 */ |
253 int sqlite3MemJournalSize(void){ | 253 int sqlite3MemJournalSize(void){ |
254 return sizeof(MemJournal); | 254 return sizeof(MemJournal); |
255 } | 255 } |
OLD | NEW |