| /sqlite-3.40.0/test/ |
| H A D | shared.test | 78 # shared-7.*: Autovacuum and shared-cache. 79 # shared-8.*: Tests related to the text encoding of shared-cache databases. 80 # shared-9.*: TEMP triggers and shared-cache databases. 85 do_test shared-$av.1.1 { 93 do_test shared-$av.1.2 { 104 do_test shared-$av.1.3 { 424 # Tests shared-5.* 737 # and shared-schemas. 765 } ; # End shared-9.* 1162 ATTACH 'file:mem?mode=memory&cache=shared' AS shared; [all …]
|
| H A D | shmlock.test | 32 1 db {shared lock 7 1} OK 34 3 db {shared unlock 7 1} OK 45 12 db {shared lock 0 1} OK 46 13 db2 {shared lock 0 1} OK 47 14 db3 {shared lock 0 1} OK 48 15 db3 {shared unlock 0 1} OK 50 17 db2 {shared unlock 0 1} OK 52 19 db {shared unlock 0 1} OK 56 22 db {shared lock 3 1} OK 58 24 db {shared lock 2 1} OK [all …]
|
| H A D | attach2.test | 194 # db - shared(main) 198 lock_status 4.2.1 db {main shared temp closed file2 unlocked} 206 lock_status 4.3.1 db {main shared temp closed file2 unlocked} 234 # db - shared(main) 247 # db - shared(main), shared(file2) 251 lock_status 4.6.1.1 db {main shared temp closed file2 shared} 261 lock_status 4.6.2.1 db {main shared temp closed file2 shared} 272 lock_status 4.7.1 db {main shared temp closed file2 shared} 280 lock_status 4.8.1 db {main shared temp closed file2 shared} 290 lock_status 4.9.1 db {main shared temp closed file2 shared} [all …]
|
| H A D | temptrigger.test | 23 # temptrigger-2.*: A similar shared cache problem. 29 # in shared-cache mode. If process 1 connections to a shared-cache and 30 # creates a temp trigger, the temp trigger is linked into the shared-cache 31 # schema. If process 2 reloads the shared-cache schema from disk, then 35 # temptrigger-1.1: In shared cache mode, create a table in the main 41 # same shared cache. 43 # temptrigger-1.3: Using the second connection to the shared-cache, cause 44 # the shared-cache schema to be reloaded. 82 # Cause the shared-cache schema to be reloaded. 104 # temptrigger-2.3 simply opens and closes a connection to the shared-cache.
|
| H A D | e_wal.test | 23 # written even if shared memory is unavailable as long as the 28 # shared-memory methods xShmMap, xShmLock, xShmBarrier, and xShmUnmap on 36 # not support shared memory. 83 # any of the shared-memory methods and hence no shared-memory wal-index 135 # first WAL-mode database access, then the shared-memory wal-index is 150 # a shared-memory wal-index, the locking mode can be changed freely 164 # EVIDENCE-OF: R-10993-11647 It is only when the shared-memory wal-index 184 # support the "version 2" shared-memory. 186 # EVIDENCE-OF: R-55316-21772 If the VFS does not support shared-memory
|
| H A D | e_uri.test | 349 # "shared" or "private". 354 2 {file:test.db?cache=shared} {not an error} 380 1.5 "file:test.db" shared 0 1 381 1.6 "file:test.db" shared 1 1 387 2.5 "file:test.db?cache=private" shared 0 0 388 2.6 "file:test.db?cache=private" shared 1 0 390 3.1 "file:test.db?cache=shared" "" 0 1 391 3.2 "file:test.db?cache=shared" "" 1 1 394 3.5 "file:test.db?cache=shared" shared 0 1 395 3.6 "file:test.db?cache=shared" shared 1 1 [all …]
|
| H A D | loadext.test | 31 set gcc_shared "-shared -fPIC" 40 # When a shared-object cannot be opened because it does not exist, the 43 # [format $dlerror_nosuchfile <shared-object-name>] 45 # When a shared-object cannot be opened because it consists of the 4 48 # [format $dlerror_notadll <shared-object-name>] 50 # When a symbol cannot be found within an open shared-object, the error 53 # [format $dlerror_nosymbol <shared-object-name> <symbol-name>] 59 {%s: cannot open shared object file: No such file or directory} 150 # Try to load an extension for which the file is not a shared object
|
| H A D | thread005.test | 12 # Test a race-condition that shows up in shared-cache mode. 27 # Use shared-cache mode for these tests. 64 # $finished(0) on the shared-cache table t1 and the statement will 76 # This test tries to exercise a race-condition that existed in shared-cache 78 # open on the same shared cache. The schema of the database is: 203 # does not already exist a shared-cache corresponding to that database, 204 # then two shared-caches can be created instead of one. Things still more 206 # shared-cache. 212 # already shared-caches in memory for all databases opened by the
|
| H A D | wal3.test | 250 # a shared lock on the RECOVER lock to see if there really is a 254 # being returned when client-2 attempts a shared lock on the RECOVER byte. 299 if { $spec == "2 1 lock shared" } { 387 if {$spec == "3 1 lock shared"} { 540 } {{4 1 lock shared} {4 1 unlock shared} {5 1 lock shared} {5 1 unlock shared}} 555 } {{5 1 lock shared} {5 1 unlock shared} {4 1 lock shared} {4 1 unlock shared}} 567 # the value, then drops back to a shared-lock for the duration of the 572 # the client takes a shared-lock on a slot without modifying the value
|
| H A D | ioerr4.test | 13 # during incremental vacuum with a shared cache. 20 # This test requires both shared cache and incremental vacuum. 27 # Enable shared cache mode and incremental vacuum. 78 # with two connections on shared cache.
|
| H A D | wal2.test | 133 {4 1 lock shared} {4 1 unlock shared} \ 194 {4 1 lock shared} {4 1 unlock shared} \ 496 } {1 2 main shared temp closed} 502 } {main shared temp closed} 534 } {1 2 main shared temp closed} 552 } {main shared temp closed} 648 {3 1 lock shared} {3 1 unlock shared} 651 {3 1 lock shared} 660 {4 1 lock shared} {4 1 unlock shared} 663 {4 1 lock shared} [all …]
|
| H A D | tkt3793.test | 31 sqlite3 db2 "file:test.db?cache=shared" -uri 1 65 # Set the size of the cache shared by [db1] and [db2] to 10. Then update 66 # more than 10 pages of table t1. At this point the shared-cache will 81 # Run one SELECT query on the shared-cache using [db1], then from within
|
| H A D | tkt2854.test | 39 # shared-cache connection has a read-lock on a table. 60 # Check that an exclusive lock prevents other shared-cache users from 83 # Check that an exclusive lock prevents other shared-cache users from 119 # shared-cache users is correctly cleared.
|
| H A D | shared9.test | 13 # to the same shared cache using different database names, views and 65 INSERT INTO t4 VALUES('shared cache'); 74 } {{shared cache}} 165 # shared-cache connection to be executed as a result of an sqlite3_step()
|
| H A D | jrnlmode2.test | 35 # * there exists a connection with a shared lock on the db file, 40 # database file. If this fails because another connection has a shared 82 } {main shared temp closed}
|
| H A D | pager2.test | 151 # Test that shared in-memory databases seem to work. 159 sqlite3 db1 {file:test.db?mode=memory&cache=shared} 160 sqlite3 db2 {file:test.db?mode=memory&cache=shared}
|
| H A D | shared7.test | 13 # shared cache mode fails. 26 # EVIDENCE-OF: R-05098-06501 In shared cache mode, attempting to attach
|
| H A D | e_blobclose.test | 41 do_execsql_test 1.2 { PRAGMA lock_status } {main shared temp closed} 76 } {main shared temp closed} 120 } {-10000 {main shared temp closed}}
|
| H A D | tkt-f7b4edec.test | 22 # shared cache mode. Create update hooks that will fire on 67 # Be sure to restore the original shared-cache mode setting before
|
| H A D | walvfs.test | 201 if {$args == "{0 1 lock shared}"} { 322 if {$::flag && [lrange $spec 2 end]=="lock shared"} { 325 if {$spec=="3 1 unlock shared"} { 423 if {$args=="{3 1 lock shared}"} {
|
| H A D | pragma3.test | 139 # in separate processes and shared cache database connections. 167 # in separate processes and shared cache database connections. 169 # The next block checks that behavior is the same for shared-cache.
|
| /sqlite-3.40.0/ |
| H A D | aclocal.m4 | 4392 tmp_sharedflag='-shared' 4409 tmp_sharedflag='--shared' ;; 4622 shared_flag='-shared' 4750 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 5189 a shared archive.]) 6566 create a shared library]) 6572 a shared library]) 7445 dnl `shared' nor `disable-shared' was passed, we enable building of shared 7447 _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) 7524 # implement the --enable-shared flag, and supports the `shared' and [all …]
|
| H A D | mkso.sh | 25 echo gcc -shared *.o $TCLSTUBLIB -o tclsqlite3.so 26 gcc -shared *.o $TCLSTUBLIB -o tclsqlite3.so 29 echo gcc -shared *.o -o sqlite3.so 30 gcc -shared *.o -o sqlite3.so
|
| /sqlite-3.40.0/autoconf/tea/tclconfig/ |
| H A D | tcl.m4 | 675 # --enable-shared=yes|no 692 AC_ARG_ENABLE(shared, 718 AC_MSG_RESULT([shared]) 1218 SHLIB_LD='${CC} -shared' 1357 SHLIB_LD='${CC} -shared' 1365 SHLIB_LD='${CC} -shared' 1410 SHLIB_LD='${CC} -shared' 1553 SHLIB_LD='${CC} -shared' 1586 # NetBSD has ELF and can use 'cc -shared' to build shared libs 1785 SHLIB_LD='${CC} -shared' [all …]
|
| /sqlite-3.40.0/src/ |
| H A D | os_win.c | 2309 if( !pFile->shared ){ in winceCreateLock() 2353 pFile->shared->nReaders --; in winceDestroyLock() 2356 pFile->shared->bReserved = FALSE; in winceDestroyLock() 2359 pFile->shared->bPending = FALSE; in winceDestroyLock() 2366 osUnmapViewOfFile(pFile->shared); in winceDestroyLock() 2398 if (pFile->shared->nReaders == 0 && pFile->shared->bExclusive == 0){ in winceLockFile() 2411 pFile->shared->nReaders ++; in winceLockFile() 2422 pFile->shared->bPending = TRUE; in winceLockFile() 2432 pFile->shared->bReserved = TRUE; in winceLockFile() 2478 pFile->shared->nReaders --; in winceUnlockFile() [all …]
|