~ubuntu-branches/ubuntu/wily/sqlite3/wily

« back to all changes in this revision

Viewing changes to test/mutex1.test

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2011-09-27 00:09:20 UTC
  • mfrom: (0.23.1) (1.6.1) (16.3.5 oneiric)
  • Revision ID: package-import@ubuntu.com-20110927000920-8d87xm2c8837llx3
Tags: 3.7.7-2ubuntu2
Make sure to build lemon when cross-compiling.

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
  set enable_shared_cache [sqlite3_enable_shared_cache 1]
102
102
  foreach {mode mutexes} {
103
103
    singlethread {}
104
 
    multithread  {fast static_lru static_master static_mem static_open static_prng }
105
 
    serialized  {fast recursive static_lru static_master static_mem static_open static_prng}
 
104
    multithread  {
 
105
      fast static_lru static_master static_mem static_open static_prng 
 
106
      static_pmem
 
107
    }
 
108
    serialized  {
 
109
      fast recursive static_lru static_master static_mem static_open 
 
110
      static_prng static_pmem
 
111
    }
106
112
  } {
107
113
 
108
114
    do_test mutex1.2.$mode.1 {
120
126
        INSERT INTO abc VALUES(1, 2, 3);
121
127
      }
122
128
    } {}
123
 
  
 
129
    ifcapable !memorymanage {
 
130
      regsub { static_lru} $mutexes {} mutexes
 
131
    }
124
132
    do_test mutex1.2.$mode.3 {
125
133
      mutex_counters counters
126
134