diff options
author | drh <drh@noemail.net> | 2010-06-26 22:16:02 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2010-06-26 22:16:02 +0000 |
commit | 7750ab48f55204c274ebf7ca5422b5397b2ef3de (patch) | |
tree | 0bbd2aa9c81b86253e4a4fc9b3ca8ade99a83c86 /src | |
parent | ff82894faa93046bfa0dfdb5cbf846c6ffc1a558 (diff) | |
download | sqlite-7750ab48f55204c274ebf7ca5422b5397b2ef3de.tar.gz sqlite-7750ab48f55204c274ebf7ca5422b5397b2ef3de.zip |
Make walIndexTryHdr() a private function. Fix an issue with SQLITE_MUTEX_NOOP.
FossilOrigin-Name: ec65bbd06bdd3bf16a742c5bb1fab0dce756c01a
Diffstat (limited to 'src')
-rw-r--r-- | src/mutex_noop.c | 2 | ||||
-rw-r--r-- | src/wal.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mutex_noop.c b/src/mutex_noop.c index e1e3b3288..c5fd5202c 100644 --- a/src/mutex_noop.c +++ b/src/mutex_noop.c @@ -200,7 +200,7 @@ sqlite3_mutex_methods const *sqlite3NoopMutex(void){ */ #ifdef SQLITE_MUTEX_NOOP sqlite3_mutex_methods const *sqlite3DefaultMutex(void){ - return sqliteNoopMutex(); + return sqlite3NoopMutex(); } #endif /* SQLITE_MUTEX_NOOP */ #endif /* SQLITE_MUTEX_OMIT */ @@ -1671,7 +1671,7 @@ int sqlite3WalClose( ** If the checksum cannot be verified return non-zero. If the header ** is read successfully and the checksum verified, return zero. */ -int walIndexTryHdr(Wal *pWal, int *pChanged){ +static int walIndexTryHdr(Wal *pWal, int *pChanged){ u32 aCksum[2]; /* Checksum on the header content */ WalIndexHdr h1, h2; /* Two copies of the header content */ WalIndexHdr volatile *aHdr; /* Header in shared memory */ |