/ File History
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

History of src/btmutex.c

2018-11-20
16:02
Consolidate the two sqlite3SchemaToIndex() routines. file: [786ad531] check-in: [dfab7170] user: dan branch: reuse-schema1, size: 9395
2018-11-17
18:11
Fix further problems with the feature on this branch. file: [aeee7f04] check-in: [6d7a7e5f] user: dan branch: reuse-schema1, size: 9396
2018-04-25
12:01
Avoid many unnecessary calls to sqlite3ReadSchema() and sqlite3Init() when the schema is known to be valid already. file: [8acc2f46] check-in: [58cf812f] user: drh branch: trunk, size: 9320
2017-01-02
18:19
Avoid unnecessary calls to sqlite3BtreeEnterAll() and sqlite3BtreeLeaveAll() when no btree is using shared-cache. file: [0e9ce2d5] check-in: [cfb31582] user: drh branch: trunk, size: 9323
2016-01-07
16:06
Have the vdbe layer call sqlite3BtreeEnter() on all b-trees in use from within sqlite3VdbeExec() even in SQLITE_THREADSAFE=0 builds. This ensures that BtShared.db is set correctly. file: [bc87dd3b] check-in: [d0214602] user: dan branch: shared-cache-fix, size: 9014
2015-03-19
15:04
Add an assert() to check that the database mutex is held in sqlite3BtreeLeave(). file: [45a968cc] check-in: [31f54d7b] user: dan branch: trunk, size: 9047
2014-09-06
16:39
Fix typos in comments. No code changes. file: [49ca6625] check-in: [e62aab5e] user: peter.d.reid branch: trunk, size: 9001
2014-08-22
21:58
Performance enhancements in the b-tree mutex logic. file: [ec9d3f12] check-in: [89145306] user: drh branch: trunk, size: 9002
2011-04-06
22:05
Fix a performance regression: Keep two btree masks in each prepared statement; one for btrees used and another for btrees that require locks. Only try to lock the btrees identified by the second mask. file: [976f45a1] check-in: [614de91a] user: drh branch: trunk, size: 8531
2011-04-05
19:27
Simplifications to the sqlite3BtreeEnterAll() and LeaveAll() routines. Just have them call BtreeEnter and BtreeLeave() repeatedly rather than trying to be clever. file: [7907af20] check-in: [51039b35] user: drh branch: trunk, size: 8339
17:31
Remove the mutex counter and the logic that attempts to verify that btree mutexes are held continuously. We are not making that assumption at this time. file: [1f951523] check-in: [242ce7cf] user: drh branch: trunk, size: 9128
2011-04-04
18:22
Add a description of access rules for the Schema object and lots of asserts to verify that the access rules are followed. file: [b8106222] check-in: [ae8374af] user: drh branch: schema-parse-refactor, size: 10166
00:14
Remove the BtreeMutexArray object - use the Vdbe.btreeMask field to accomplish the same result. Add a generation counter to btree mutexes in order to assert that mutexes are never temporarily dropped over a range of instructions in order to do deadlock avoidance in some subroutine. Lock all btrees in any Vdbe program that uses OP_ParseSchema. file: [3e595ee1] check-in: [d81708f7] user: drh branch: trunk, size: 9439
2011-04-03
02:41
Fix typos in comments. No changes to code. file: [5ba4ca02] check-in: [28c5f12e] user: drh branch: trunk, size: 10472
2009-11-10
01:30
Remove the obsolete "$Id:$" RCS identifier strings from the source code. file: [96a12f50] check-in: [f6c045f6] user: drh branch: trunk, size: 10471
2009-07-20
12:33
Use an ALWAYS() on a conditional in btmutex.c that is always true. (CVS 6910) file: [0f43a75b] check-in: [609022ca] user: drh branch: trunk, size: 10529
2009-07-17
11:44
Code simplifications in support of structural testing. (CVS 6900) file: [f7b059a9] check-in: [fb1b955d] user: drh branch: trunk, size: 10366
2009-04-10
12:55
Changes to ensure that when running in shared-cache mode with a non-threadsafe build, the correct busy-handler callback is always invoked. (CVS 6481) file: [9b899c0d] check-in: [683e4bd7] user: danielk1977 branch: trunk, size: 10275
09:47
Always set BtShared.db when entering the BtShared mutex. Ticket #3793. (CVS 6480) file: [527b63e2] check-in: [ed6620ba] user: danielk1977 branch: trunk, size: 10040
2009-03-05
04:20
Corrected typos and misspellings. Ticket #3702. (CVS 6336) file: [341502bc] check-in: [6404afa0] user: shane branch: trunk, size: 9248
2008-11-17
19:18
Modifications to avoid unsigned/signed comparisons in various files. (CVS 5914) file: [63c5cc4a] check-in: [8009220c] user: danielk1977 branch: trunk, size: 9254
2008-10-07
15:25
Remove the SQLITE_MUTEX_APPDEF compile-time option. The SQLITE_THREADSAFE=0 option always removes all mutex code. For application-defined mutexes only, use SQLITE_THREADSAFE=1 with SQLITE_MUTEX_NOOP=1. Ticket #3421. (CVS 5779) file: [3a90096c] check-in: [02a12eb1] user: drh branch: trunk, size: 9269
2008-07-14
19:39
Add a new test script to exercise the deadlock avoidance code in the btree mutex logic. (CVS 5412) file: [709cad2c] check-in: [7d5e1c43] user: drh branch: trunk, size: 9326
2008-01-23
12:52
Improvements to test coverage in the lemon-generated parser and in the sqlite3_get_table() interface. (CVS 4745) file: [483ced3c] check-in: [9f95d79d] user: drh branch: trunk, size: 9350
2007-12-07
18:55
In shared-cache mode, make sure the busy hander invoked is the busy handler associated with the database connection that caused the lock contention in the first place. (CVS 4598) file: [5d39da37] check-in: [c9eb6591] user: drh branch: trunk, size: 9293
2007-08-30
01:19
Fix for the sqlite3AbortOtherActiveVdbes() problem. (CVS 4328) file: [442be6f0] check-in: [e40d40a5] user: drh branch: trunk, size: 9328
2007-08-29
17:43
Improvements to mutex asserts. The quick test runs to completion without assertion faults. (CVS 4324) file: [abc2eda0] check-in: [2732af0e] user: drh branch: trunk, size: 9315
04:00
Better asserts(). But now some of the tests are busted again. (CVS 4320) file: [c04e67d9] check-in: [e8060f85] user: drh branch: trunk, size: 8835
00:33
More locking fixes. Now makes it all the way through quick.test. There are errors but no assertion faults. Progress. (CVS 4319) file: [0abcf98b] check-in: [844d40b8] user: drh branch: trunk, size: 7832
2007-08-28
23:28
The shared_err test runs with no errors. But a potential deadlock has been discovered and is still unfixed. (CVS 4317) file: [fc9d8316] check-in: [f84550be] user: drh branch: trunk, size: 6248
16:44
Fix locking bug in btshared.c. (CVS 4313) file: [3a19fcb3] check-in: [af24e7d0] user: drh branch: trunk, size: 6230
02:27
Work toward correct btree locking in a multithreaded environment. (CVS 4307) file: [e11c59a7] check-in: [b8cc493b] user: drh branch: trunk, size: 6171 Added