/ Check-in [c86e46f4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update test file mutex1.test to account for [e3b500fb5d].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c86e46f4fd8f485fa1d34c70e17ea3aa1b334ce3
User & Date: dan 2011-01-26 15:23:23
Context
2011-01-26
19:46
Update all built-in VFSes to return SQLITE_OK for the SQLITE_FCNTL_SYNC_OMITTED file-control operation. Also change the xFileControl methods to return SQLITE_NOTFOUND for unrecognized operation codes. check-in: 6f2c72a0 user: drh tags: trunk
15:23
Update test file mutex1.test to account for [e3b500fb5d]. check-in: c86e46f4 user: dan tags: trunk
13:28
More mutexes around another sqlite3StatusAdd() call. check-in: e3b500fb user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/mutex1.test.

    99     99   #
   100    100   ifcapable threadsafe&&shared_cache {
   101    101     set enable_shared_cache [sqlite3_enable_shared_cache 1]
   102    102     foreach {mode mutexes} {
   103    103       singlethread {}
   104    104       multithread  {
   105    105         fast static_lru static_master static_mem static_open static_prng 
          106  +      static_pmem
   106    107       }
   107    108       serialized  {
   108         -      fast recursive static_lru static_master static_mem static_open static_prng
          109  +      fast recursive static_lru static_master static_mem static_open 
          110  +      static_prng static_pmem
   109    111       }
   110    112     } {
   111    113   
   112         -    # Permutation "memsubsys1" configures a block of PAGECACHE memory. In
   113         -    # multi-threaded and serialized modes, this causes SQLite to use the 
   114         -    # STATIC_PMEM mutex as well.
   115         -    #
   116         -    if {[permutation] == "memsubsys1" && $mode != "singlethread"} {
   117         -      lappend mutexes static_pmem
   118         -    }
   119         -
   120    114       do_test mutex1.2.$mode.1 {
   121    115         catch {db close}
   122    116         sqlite3_shutdown
   123    117         sqlite3_config $mode
   124    118       } SQLITE_OK
   125    119   
   126    120       do_test mutex1.2.$mode.2 {