SQLite

All files named ”src/server.c”
Login

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

History for src/server.c

2018-03-30
20:42
[70421e6acb] part of check-in [337a0b67e3] Update and add further detail to README-server-edition.html. (check-in: [337a0b67e3] user: dan branch: server-process-edition, size: 29203)
2017-08-29
17:52
[9af69ec201] part of check-in [1b3df8ffc5] Add a Tcl script to run the performance tests described in README-server-edition.html. (check-in: [1b3df8ffc5] user: dan branch: server-process-edition, size: 28879)
2017-08-19
15:50
[4215bc2287] part of check-in [2dd36ade9e] Ensure that write-locks on pages are dropped at the end of each write transaction, even if there is still a read transaction open. (check-in: [2dd36ade9e] user: dan branch: server-process-edition, size: 28645)
2017-08-18
16:04
[6ed43d1309] part of check-in [66fb9e1cb4] Do not search for locks to clear when connecting to a db in multi-process mode unless it looks like the previous user of the client-id crashed. (check-in: [66fb9e1cb4] user: dan branch: server-process-edition, size: 28074)
2017-08-17
19:32
[481366fff6] part of check-in [a8115f95e8] Add support for crash recovery in multi-process mode. And add test cases for the same. (check-in: [a8115f95e8] user: dan branch: server-process-edition, size: 27078)
2017-08-16
16:52
[e8d1c1a0e3] part of check-in [04e0cb571d] Enhance this branch to support page-level-locking (without MVCC) for multi-process deployments. (check-in: [04e0cb571d] user: dan branch: server-process-edition, size: 24826)
2017-08-07
14:06
[d69efa7284] part of check-in [355c594e82] Fix a bug on this branch involving mmap mode and readonly transactions. (check-in: [355c594e82] user: dan branch: server-process-edition, size: 19176)
2017-07-29
17:01
[ef4a69ea41] part of check-in [8299bdb7cb] Update test program "tserver" to use a native pthreads mutex/condition variable to efficiently manage wal file checkpoints without the wal file growing indefinitely. (check-in: [8299bdb7cb] user: dan branch: server-process-edition, size: 18804)
2017-07-28
21:02
[cc07e5ee19] part of check-in [60953997f6] Reduce the number of mallocs required of writers in server mode. (check-in: [60953997f6] user: dan branch: server-process-edition, size: 18800)
2017-07-24
19:23
[9b76ad62df] part of check-in [e77d29f644] Only open a db in server-mode if there is a directory named "db-journal" in the file-system and the VFS is an exclusive locking VFS. (check-in: [e77d29f644] user: dan branch: server-process-edition, size: 18427)
2017-07-11
16:47
[a5dbb0b06d] part of check-in [b6157267f9] Fix a bug causing readonly mvcc connections to read the wrong cache entry in some cases. (check-in: [b6157267f9] user: dan branch: server-process-edition, size: 18418)
2017-07-08
20:46
[f7b99d79a1] part of check-in [5a043aa8dd] Support read-only MVCC transactions in server-mode. Started using "BEGIN READONLY". (check-in: [5a043aa8dd] user: dan branch: server-process-edition, size: 18389)
2017-07-07
16:12
[4b76241f63] part of check-in [a3a9a2e189] Have this branch maintain an in-memory hash-table of old pages for read-only MVCC clients. There is no way to access it yet. (check-in: [a3a9a2e189] user: dan branch: server-process-edition, size: 15647)
2017-06-27
20:23
[9f1ce17858] part of check-in [dfa9a4d53e] Support clients within a single process only. (check-in: [dfa9a4d53e] user: dan branch: server-process-edition, size: 11062)
2017-05-22
08:01
[63c3799a18] part of check-in [a726d98122] Add code to this branch to emit a log message after each cumulative second that the WRITER lock has been held. (check-in: [a726d98122] user: dan branch: server-edition, size: 16918)
2017-05-15
19:32
[c7ba48720c] part of check-in [9b7f80246f] Avoid writer starvation by adding a RESERVED state to page locks. (check-in: [9b7f80246f] user: dan branch: server-edition, size: 16263)
2017-05-13
19:07
[a1732bcde8] part of check-in [a38858a24c] Avoid running recovery while there is another read/write client. (check-in: [a38858a24c] user: dan branch: server-edition, size: 14092)
2017-05-10
16:18
[e6c06532b2] part of check-in [2584df3d42] Fix a problem causing a lock to be held past the end of a transaction. Use a blocking lock to take the read-lock on page 1 taken by all transactions. (check-in: [2584df3d42] user: dan branch: server-edition, size: 13882)
13:46
[0dc1e45a21] part of check-in [4464ca1d68] Use a blocking call to obtain the wal-mode WRITER lock in some cases. (check-in: [4464ca1d68] user: dan branch: server-edition, size: 13950)
2017-04-29
15:48
[ffeab1087c] part of check-in [f6b025bf63] Avoid reading the file-size before page 1 is read-locked. (check-in: [f6b025bf63] user: dan branch: server-edition, size: 13311)
2017-04-28
17:32
[143a16259e] part of check-in [a40b42c422] Fix various bugs revealed by running performance tests. (check-in: [a40b42c422] user: dan branch: server-edition, size: 13294)
14:09
[88d8e543e5] part of check-in [a5a085483c] Add a missing releasePage() call to the server-mode free-list management code. (check-in: [a5a085483c] user: dan branch: server-edition, size: 13288)
10:20
[350729b7a6] part of check-in [778e8a102d] Use a different free-list format for server-mode databases in order to reduce contention. (check-in: [778e8a102d] user: dan branch: server-edition, size: 13222)
2017-04-27
14:12
[1e930af2d0] part of check-in [3144ae40d2] Do not write master journal filenames into server-mode journal files. Use SQLITE_MUTEX_STATIC_APP1 to protect critical sections in server.c. (check-in: [3144ae40d2] user: dan branch: server-edition, size: 13237)
2017-04-26
20:45
Added: [bbc3200902] part of check-in [64ecf7c7e5] Experimental implementation of pessimistic page-level locking based on rollback mode. (check-in: [64ecf7c7e5] user: dan branch: server-edition, size: 12934)
2007-05-10
21:31
Deleted: Backport the stack-size reduction patch in (3673) to version 3.3.13. (CVS 3979) (check-in: [e91012b603] user: drh branch: branch_3_3_13, size: 0)
2006-01-15
00:13
[087b92a39d] part of check-in [03c422ecb5] Documentation updates. Fix to date.c. But most importantly: database connections are now allowed to change threads as long as they are not holding a lock. (CVS 2944) (check-in: [03c422ecb5] user: drh branch: trunk, size: 17491)
2006-01-11
23:40
[e425729aa7] part of check-in [fb518b0ce4] Testing of the automatic TSD deallocation logic. The sqlite3_thread_cleanup() API is documented. This should close ticket #1601. (CVS 2920) (check-in: [fb518b0ce4] user: drh branch: trunk, size: 14770)
2006-01-10
20:01
[519e308651] part of check-in [c0f47ccbc9] Improved comments on the server and asynchronous I/O demo programs. (CVS 2909) (check-in: [c0f47ccbc9] user: drh branch: trunk, size: 14706)
02:30
[42a2bd02ee] part of check-in [8719f880a3] Enable shared cache on the server demonstration. (CVS 2899) (check-in: [8719f880a3] user: drh branch: trunk, size: 14790)
2006-01-09
23:40
Added: [934555eb73] part of check-in [ec332d8822] Added database server example code (untested). Fixed serveral bugs including the autovacuum compile problem described by ticket #1593. (CVS 2897) (check-in: [ec332d8822] user: drh branch: trunk, size: 14756)