OLD | NEW |
1 /* | 1 /* |
2 ** 2010 February 1 | 2 ** 2010 February 1 |
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 2881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2892 /* | 2892 /* |
2893 ** Return true if the argument is non-NULL and the WAL module is using | 2893 ** Return true if the argument is non-NULL and the WAL module is using |
2894 ** heap-memory for the wal-index. Otherwise, if the argument is NULL or the | 2894 ** heap-memory for the wal-index. Otherwise, if the argument is NULL or the |
2895 ** WAL module is using shared-memory, return false. | 2895 ** WAL module is using shared-memory, return false. |
2896 */ | 2896 */ |
2897 int sqlite3WalHeapMemory(Wal *pWal){ | 2897 int sqlite3WalHeapMemory(Wal *pWal){ |
2898 return (pWal && pWal->exclusiveMode==WAL_HEAPMEMORY_MODE ); | 2898 return (pWal && pWal->exclusiveMode==WAL_HEAPMEMORY_MODE ); |
2899 } | 2899 } |
2900 | 2900 |
2901 #endif /* #ifndef SQLITE_OMIT_WAL */ | 2901 #endif /* #ifndef SQLITE_OMIT_WAL */ |
OLD | NEW |