/ History for src/btmutex.c
Login

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

History for src/btmutex.c

2020-07-29
16:18
[11de5642] part of check-in [a80ae2c9] Dozens and dozens of typo fixes in comments. This change adds no value to the end product and is disruptive, so it is questionable whether or not it will ever land on trunk. (check-in: [a80ae2c9] user: drh branch: typos, size: 9320)
2018-11-20
16:02
[786ad531] part of check-in [dfab7170] Consolidate the two sqlite3SchemaToIndex() routines. (check-in: [dfab7170] user: dan branch: reuse-schema1, size: 9395)
2018-11-17
18:11
[aeee7f04] part of check-in [6d7a7e5f] Fix further problems with the feature on this branch. (check-in: [6d7a7e5f] user: dan branch: reuse-schema1, size: 9396)
2018-04-25
12:01
[8acc2f46] part of check-in [58cf812f] Avoid many unnecessary calls to sqlite3ReadSchema() and sqlite3Init() when the schema is known to be valid already. (check-in: [58cf812f] user: drh branch: trunk, size: 9320)
2017-01-02
18:19
[0e9ce2d5] part of check-in [cfb31582] Avoid unnecessary calls to sqlite3BtreeEnterAll() and sqlite3BtreeLeaveAll() when no btree is using shared-cache. (check-in: [cfb31582] user: drh branch: trunk, size: 9323)
2016-01-07
16:06
[bc87dd3b] part of check-in [d0214602] 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. (check-in: [d0214602] user: dan branch: shared-cache-fix, size: 9014)
2015-03-19
15:04
[45a968cc] part of check-in [31f54d7b] Add an assert() to check that the database mutex is held in sqlite3BtreeLeave(). (check-in: [31f54d7b] user: dan branch: trunk, size: 9047)
2014-09-06
16:39
[49ca6625] part of check-in [e62aab5e] Fix typos in comments. No code changes. (check-in: [e62aab5e] user: peter.d.reid branch: trunk, size: 9001)
2014-08-22
21:58
[ec9d3f12] part of check-in [89145306] Performance enhancements in the b-tree mutex logic. (check-in: [89145306] user: drh branch: trunk, size: 9002)
2011-04-06
22:05
[976f45a1] part of check-in [614de91a] 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. (check-in: [614de91a] user: drh branch: trunk, size: 8531)
2011-04-05
19:27
[7907af20] part of check-in [51039b35] Simplifications to the sqlite3BtreeEnterAll() and LeaveAll() routines. Just have them call BtreeEnter and BtreeLeave() repeatedly rather than trying to be clever. (check-in: [51039b35] user: drh branch: trunk, size: 8339)
17:31
[1f951523] part of check-in [242ce7cf] 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. (check-in: [242ce7cf] user: drh branch: trunk, size: 9128)
2011-04-04
18:22
[b8106222] part of check-in [ae8374af] Add a description of access rules for the Schema object and lots of asserts to verify that the access rules are followed. (check-in: [ae8374af] user: drh branch: schema-parse-refactor, size: 10166)
00:14
[3e595ee1] part of check-in [d81708f7] 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. (check-in: [d81708f7] user: drh branch: trunk, size: 9439)
2011-04-03
02:41
[5ba4ca02] part of check-in [28c5f12e] Fix typos in comments. No changes to code. (check-in: [28c5f12e] user: drh branch: trunk, size: 10472)
2009-11-10
01:30
[96a12f50] part of check-in [f6c045f6] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f6] user: drh branch: trunk, size: 10471)
2009-07-20
12:33
[0f43a75b] part of check-in [609022ca] Use an ALWAYS() on a conditional in btmutex.c that is always true. (CVS 6910) (check-in: [609022ca] user: drh branch: trunk, size: 10529)
2009-07-17
11:44
[f7b059a9] part of check-in [fb1b955d] Code simplifications in support of structural testing. (CVS 6900) (check-in: [fb1b955d] user: drh branch: trunk, size: 10366)
2009-04-10
12:55
[9b899c0d] part of check-in [683e4bd7] 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) (check-in: [683e4bd7] user: danielk1977 branch: trunk, size: 10275)
09:47
[527b63e2] part of check-in [ed6620ba] Always set BtShared.db when entering the BtShared mutex. Ticket #3793. (CVS 6480) (check-in: [ed6620ba] user: danielk1977 branch: trunk, size: 10040)
2009-03-05
04:20
[341502bc] part of check-in [6404afa0] Corrected typos and misspellings. Ticket #3702. (CVS 6336) (check-in: [6404afa0] user: shane branch: trunk, size: 9248)
2008-11-17
19:18
[63c5cc4a] part of check-in [8009220c] Modifications to avoid unsigned/signed comparisons in various files. (CVS 5914) (check-in: [8009220c] user: danielk1977 branch: trunk, size: 9254)
2008-10-07
15:25
[3a90096c] part of check-in [02a12eb1] 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) (check-in: [02a12eb1] user: drh branch: trunk, size: 9269)
2008-07-14
19:39
[709cad2c] part of check-in [7d5e1c43] Add a new test script to exercise the deadlock avoidance code in the btree mutex logic. (CVS 5412) (check-in: [7d5e1c43] user: drh branch: trunk, size: 9326)
2008-01-23
12:52
[483ced3c] part of check-in [9f95d79d] Improvements to test coverage in the lemon-generated parser and in the sqlite3_get_table() interface. (CVS 4745) (check-in: [9f95d79d] user: drh branch: trunk, size: 9350)
2007-12-07
18:55
[5d39da37] part of check-in [c9eb6591] 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) (check-in: [c9eb6591] user: drh branch: trunk, size: 9293)
2007-08-30
01:19
[442be6f0] part of check-in [e40d40a5] Fix for the sqlite3AbortOtherActiveVdbes() problem. (CVS 4328) (check-in: [e40d40a5] user: drh branch: trunk, size: 9328)
2007-08-29
17:43
[abc2eda0] part of check-in [2732af0e] Improvements to mutex asserts. The quick test runs to completion without assertion faults. (CVS 4324) (check-in: [2732af0e] user: drh branch: trunk, size: 9315)
04:00
[c04e67d9] part of check-in [e8060f85] Better asserts(). But now some of the tests are busted again. (CVS 4320) (check-in: [e8060f85] user: drh branch: trunk, size: 8835)
00:33
[0abcf98b] part of check-in [844d40b8] More locking fixes. Now makes it all the way through quick.test. There are errors but no assertion faults. Progress. (CVS 4319) (check-in: [844d40b8] user: drh branch: trunk, size: 7832)
2007-08-28
23:28
[fc9d8316] part of check-in [f84550be] The shared_err test runs with no errors. But a potential deadlock has been discovered and is still unfixed. (CVS 4317) (check-in: [f84550be] user: drh branch: trunk, size: 6248)
16:44
[3a19fcb3] part of check-in [af24e7d0] Fix locking bug in btshared.c. (CVS 4313) (check-in: [af24e7d0] user: drh branch: trunk, size: 6230)
02:27
[e11c59a7] part of check-in [b8cc493b] Work toward correct btree locking in a multithreaded environment. (CVS 4307) (check-in: [b8cc493b] user: drh branch: trunk, size: 6171) Added