diff options
author | dan <dan@noemail.net> | 2011-01-26 07:25:32 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2011-01-26 07:25:32 +0000 |
commit | 6d4fb833b7f70192f37c7926aca7f958d8ad0113 (patch) | |
tree | 46c087737aac1fda8008521747ae9bb8328cb853 /src | |
parent | 7cfbeb7fb5be5f81aa9e0c469039530c1918b87a (diff) | |
download | sqlite-6d4fb833b7f70192f37c7926aca7f958d8ad0113.tar.gz sqlite-6d4fb833b7f70192f37c7926aca7f958d8ad0113.zip |
Update mutex1.test so that it works with the memsubsys1 permutation (pagecache memory). Change a few instances of SQLITE_MUTEX_STATIC_LRU2 in comments and test code to STATIC_PMEM.
FossilOrigin-Name: 456bd5c63b41bae8e389df81e318b830aa314000
Diffstat (limited to 'src')
-rw-r--r-- | src/mutex_unix.c | 2 | ||||
-rw-r--r-- | src/mutex_w32.c | 2 | ||||
-rw-r--r-- | src/test_mutex.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mutex_unix.c b/src/mutex_unix.c index 196975e71..aa9a8cf26 100644 --- a/src/mutex_unix.c +++ b/src/mutex_unix.c @@ -99,7 +99,7 @@ static int pthreadMutexEnd(void){ return SQLITE_OK; } ** <li> SQLITE_MUTEX_STATIC_MEM2 ** <li> SQLITE_MUTEX_STATIC_PRNG ** <li> SQLITE_MUTEX_STATIC_LRU -** <li> SQLITE_MUTEX_STATIC_LRU2 +** <li> SQLITE_MUTEX_STATIC_PMEM ** </ul> ** ** The first two constants cause sqlite3_mutex_alloc() to create diff --git a/src/mutex_w32.c b/src/mutex_w32.c index fba964a46..8e257a91b 100644 --- a/src/mutex_w32.c +++ b/src/mutex_w32.c @@ -156,7 +156,7 @@ static int winMutexEnd(void){ ** <li> SQLITE_MUTEX_STATIC_MEM2 ** <li> SQLITE_MUTEX_STATIC_PRNG ** <li> SQLITE_MUTEX_STATIC_LRU -** <li> SQLITE_MUTEX_STATIC_LRU2 +** <li> SQLITE_MUTEX_STATIC_PMEM ** </ul> ** ** The first two constants cause sqlite3_mutex_alloc() to create diff --git a/src/test_mutex.c b/src/test_mutex.c index ff388f376..0bb74375d 100644 --- a/src/test_mutex.c +++ b/src/test_mutex.c @@ -247,7 +247,7 @@ static int test_read_mutex_counters( int ii; char *aName[8] = { "fast", "recursive", "static_master", "static_mem", - "static_open", "static_prng", "static_lru", "static_lru2" + "static_open", "static_prng", "static_lru", "static_pmem" }; if( objc!=1 ){ |