Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for src/status.c
2025-03-03
| ||
16:53 | [9adeef15f9] part of check-in [b51690e180] Merge the latest trunk enhancements into the reuse-schema branch. (check-in: [b51690e180] user: drh branch: reuse-schema, size: 13749) | |
2025-02-21
| ||
17:03 | [0e72e4f6be] part of check-in [d7729dbbf2] Detect when a UNIQUE or PRIMARY KEY on a WITHOUT ROWID table would need to use more than SQLITE_LIMIT_COLUMN columns and raise an error. Also include some unrelated compiler warning fixes. (check-in: [d7729dbbf2] user: drh branch: trunk, size: 13039) | |
2025-02-18
| ||
20:27 | [a676968f09] part of check-in [bdd8617b3f] Add the SQLITE_MEM5_FAILOVER compile-time option, which if enabled allows MEMSYS5 to go out to the system heap if it is unable to fulfill an allocation request. (check-in: [bdd8617b3f] user: drh branch: mem5-failover, size: 13019) | |
2023-12-28
| ||
14:07 | [5028a0afee] part of check-in [3d1b0403d6] Merge the latest trunk changes into the reuse-schema branch. (check-in: [3d1b0403d6] user: drh branch: reuse-schema, size: 13684) | |
2023-12-20
| ||
11:34 | [cb11f8589a] part of check-in [206d8c650d] Avoid harmless integer overflow in pager status statistics gathering. Response to forum post 7f4cdf23f9. (check-in: [206d8c650d] user: drh branch: trunk, size: 12974) | |
2022-09-30
| ||
14:14 | [501433a8bd] part of check-in [b119a5e896] Merge recent trunk enhancements into the reuse-schema branch. (check-in: [b119a5e896] user: drh branch: reuse-schema, size: 13666) | |
2022-08-23
| ||
20:11 | [160c445d7d] part of check-in [34b8ea3187] Change the names of the Vdbe.pVNext and Vdbe.ppVPrev fields to make them unique. Change to ppVPrev to save a few bytes and a few CPU cycles. (check-in: [34b8ea3187] user: drh branch: trunk, size: 12956) | |
2022-08-22
| ||
16:30 | [4415e11541] part of check-in [9c05a48ee0] Merge recent trunk enhancements into the reuse-schema branch. (check-in: [9c05a48ee0] user: drh branch: reuse-schema, size: 13665) | |
15:18 | [1593e408e8] part of check-in [c296a9d958] Performance enhancement for sqlite3DbFree(). (check-in: [c296a9d958] user: drh branch: trunk, size: 12955) | |
2022-05-10
| ||
13:06 | [99fd56b274] part of check-in [9f6d6e6135] Merge all recent trunk changes into the reuse-schema branch. (check-in: [9f6d6e6135] user: drh branch: reuse-schema, size: 13345) | |
2022-04-04
| ||
01:12 | [4a3da6d77e] part of check-in [c6947a96e6] Only invoke sqlite3VdbeClearObject() from a single location, so that the compiler is more likely to in-line the code. Performance increase and size reduction. (check-in: [c6947a96e6] user: drh branch: trunk, size: 12635) | |
2020-08-11
| ||
14:55 | [d0956e57c7] part of check-in [b1a77b7ead] Merge all changes since the 3.32.0 release into the reuse-schema branch. (check-in: [b1a77b7ead] user: drh branch: reuse-schema, size: 13388) | |
2020-08-10
| ||
14:18 | [4b8bc2a690] part of check-in [9d670a3183] Fix harmless compiler warnings that surface in newer versions of GCC. (check-in: [9d670a3183] user: drh branch: trunk, size: 12678) | |
2020-01-15
| ||
14:26 | [f6e2b6c378] part of check-in [f783917800] Merge all recent enhancements and fixes from trunk. (check-in: [f783917800] user: drh branch: reuse-schema, size: 13387) | |
2019-12-31
| ||
15:12 | [9ff2210207] part of check-in [88d2449838] Refactor names. Use "small" instead of "mini" to describe the smaller of the two lookaside memory allocation sizes. (check-in: [88d2449838] user: drh branch: two-size-lookaside, size: 12677) | |
2019-12-13
| ||
15:48 | [baf38f521a] part of check-in [7480566843] Cleanup and performance enhancements for mini-lookaside. (check-in: [7480566843] user: drh branch: two-size-lookaside, size: 12661) | |
2019-12-12
| ||
02:50 | [0fe55b9281] part of check-in [b02fdc09c8] More efficient implementation of a lookaside allocator that supports mini (in this case, harcoded to 128B) slots. (check-in: [b02fdc09c8] user: numist branch: two-size-lookaside, size: 12628) | |
2019-10-09
| ||
17:06 | [364babdad7] part of check-in [5ba8cee8f7] An alternative, experimental lookaside memory allocator that uses two different slot sizes. (check-in: [5ba8cee8f7] user: sperry branch: 2-size-lookaside, size: 11461) | |
2019-03-21
| ||
17:13 | [d9f7d66ae8] part of check-in [b8e536089b] Disable the feature on this branch in non-SQLITE_ENABLE_SHARED_SCHEMA builds. (check-in: [b8e536089b] user: dan branch: reuse-schema, size: 12888) | |
2019-02-18
| ||
18:16 | [28fcf86fae] part of check-in [88cbf54eee] Ensure that creating temp schema items does not cause an OPEN_SHARABLE_SCHEMA connection to load all schemas into memory. (check-in: [88cbf54eee] user: dan branch: reuse-schema, size: 12724) | |
2019-02-14
| ||
21:04 | [0361d78dab] part of check-in [d43b3c056c] Fix SQLITE_DBSTATUS_SCHEMA_USED so that it works with SQLITE_OPEN_SHARED_SCHEMA connections. (check-in: [d43b3c056c] user: dan branch: reuse-schema, size: 12624) | |
2019-02-02
| ||
21:02 | [41d9cc5d5f] part of check-in [9e8e5f52cf] Try new approach ensuring that each Schema object is only used by one connection/database at any one time. (check-in: [9e8e5f52cf] user: dan branch: reuse-schema, size: 12208) | |
2018-10-08
| ||
23:29 | [b651e68af3] part of check-in [3869b2106b] Add the ability to open a database connection in -reuseschema mode in the CLI. Adjust memory allocation accounting so that a shared schema is allocated across each database sharing it. (check-in: [3869b2106b] user: drh branch: reuse-schema, size: 12324) | |
2018-03-14
| ||
14:53 | [46e7aec11f] part of check-in [3faeb85137] Add the SQLITE_DBSTATUS_CACHE_SPILL option to sqlite3_db_status() (check-in: [3faeb85137] user: drh branch: dbstatus-cache-spill, size: 12178) | |
2017-08-29
| ||
20:21 | [9737ed0172] part of check-in [a06263f1ef] Faster memory allocation from lookaside by not trying to keep track of the number of outstanding allocations, and rather computing that value only when requested. (check-in: [a06263f1ef] user: drh branch: trunk, size: 12054) | |
2017-08-28
| ||
15:51 | [90450a491f] part of check-in [54b000246c] Remove the rarely-used scratch memory allocator. This makes the code smaller, faster, and easier to maintain. In place of the scratch allocator, add the SQLITE_CONFIG_SMALL_MALLOC configuration option that provides a hint to SQLite that large memory allocations should be avoided. (check-in: [54b000246c] user: drh branch: trunk, size: 11324) | |
2017-01-03
| ||
20:01 | [1b1e64fbce] part of check-in [f8ebeec211] Use the CLANG_VERSION macro to control clang-specific features. (check-in: [f8ebeec211] user: drh branch: gnu-safe-math, size: 11534) | |
18:05 | [56174fdb52] part of check-in [f69ce75b3d] Use the GCC built-in __sync_fetch_and_sub() to make the sqlite3StatusDown() routine atomic, and thereby avoid some mutexing. (check-in: [f69ce75b3d] user: drh branch: gnu-safe-math, size: 11527) | |
2016-08-02
| ||
08:45 | [a9e66593df] part of check-in [7c38a79cdd] Fix harmless compiler warnings in sqlite3_status(). (check-in: [7c38a79cdd] user: drh branch: trunk, size: 11368) | |
2016-07-06
| ||
18:12 | [5b18f95269] part of check-in [d58401ab26] Change the name of the SQLITE_DBSTATUS_PROPORTIONAL_CACHE_USED to SQLITE_DBSTATUS_CACHE_USED_SHARED. (check-in: [d58401ab26] user: dan branch: dbstatus-prop-cache-used, size: 11360) | |
10:12 | [d92daea3bb] part of check-in [118321c8b9] Add the SQLITE_DBSTATUS_PROPORTIONAL_CACHE_USED sqlite3_db_status() parameter. (check-in: [118321c8b9] user: dan branch: dbstatus-prop-cache-used, size: 11372) | |
2015-10-22
| ||
18:06 | [70912d7be6] part of check-in [4315d20200] Alternate compiler warning fix for sqlite3StatusHighwater. (check-in: [4315d20200] user: mistachkin branch: trunk, size: 11158) | |
2015-10-20
| ||
23:40 | [7005932757] part of check-in [12e869bbac] Fix compiler warnings. (check-in: [12e869bbac] user: mistachkin branch: noWarn, size: 11211) | |
2015-10-15
| ||
16:20 | [286f6398a4] part of check-in [cb65989b07] Performance optimizations to the sqlite3MallocSize() by requiring the argument to always be non-NULL. (check-in: [cb65989b07] user: drh branch: trunk, size: 11093) | |
15:28 | [3c4be54e8e] part of check-in [6422d223dd] Change sqlite3StatusSet() into sqlite3StatusHighwater() so that only the highwater mark is recorded. This gives a small size reduction and performance improvement. (check-in: [6422d223dd] user: drh branch: trunk, size: 11109) | |
2015-03-24
| ||
18:19 | [f266ad8a28] part of check-in [436314b572] Suppress a compiler warning that was appearing with SQLITE_THREADSAFE=0. (check-in: [436314b572] user: drh branch: trunk, size: 11031) | |
2015-03-23
| ||
19:16 | [2e5c86866f] part of check-in [3de085eab2] Fix a non-C89 variable declaration that causes problems for MSVC. (check-in: [3de085eab2] user: drh branch: status64, size: 10967) | |
18:52 | [8ccd03e35a] part of check-in [c742bd6047] Add the SQLITE_PTRSIZE macro. Use it to help sqlite3_status() run faster on 32-bit systems. (check-in: [c742bd6047] user: drh branch: status64, size: 10967) | |
17:25 | [35d02aaf02] part of check-in [1ce8e8fa4b] Add the sqlite3_status64() interface. Make the new interface and the legacy sqlite3_status() both atomic and threadsafe. Check threadsafety using assert()s. (check-in: [1ce8e8fa4b] user: drh branch: status64, size: 10794) | |
2014-10-24
| ||
00:35 | [81712116e8] part of check-in [c297a84bc6] Add the SQLITE_ENABLE_API_ARMOR compile-time option. This is a work in progress and is not yet completely functional. (check-in: [c297a84bc6] user: drh branch: api-armor, size: 8440) | |
2014-10-03
| ||
16:00 | [961d5926e5] part of check-in [d2fc322728] Add requirements marks on the sqlite3_db_status() interface implementation. Fix a typo in the documentation. Fix the new sqlite3_result_text64() routine so that it works correctly with an encoding parameter of SQLITE_UTF16. (check-in: [d2fc322728] user: drh branch: trunk, size: 8199) | |
2013-07-11
| ||
13:49 | [7ac05a5c70] part of check-in [d39e65fe70] Remove the undocumented sqlite3_foreign_key_check() API and replace it with sqlite3_db_status(db, SQLITE_DBSTATUS_DEFERRED_FKS, ...). Add test cases for the new functionality. (check-in: [d39e65fe70] user: drh branch: sessions, size: 8026) | |
2012-11-06
| ||
20:39 | [bedc37ec1a] part of check-in [82eb7eadb8] Adjust the SQLITE_DBSTATUS_STMT_USED calculation to take the modified usage of sqlite3VdbeClearObject() into account. (check-in: [82eb7eadb8] user: mistachkin branch: trunk, size: 7650) | |
2012-10-26
| ||
00:11 | [53463144de] part of check-in [f7c5abe873] Make sure all virtual table cursors have been closed on a prepared statement prior to unlinking the perpared statement from its database connection. (check-in: [f7c5abe873] user: drh branch: deferred-close-order, size: 7616) | |
2012-03-24
| ||
19:44 | [35939e7e03] part of check-in [3cb6a879f1] Add SQLITE_DBSTATUS_CACHE_WRITE. Used to query a database connection for the cumulative number of database pages written. (check-in: [3cb6a879f1] user: dan branch: fts4-incr-merge, size: 7617) | |
2011-09-22
| ||
14:41 | [4568e72dfd] part of check-in [5100b6e9dc] Add the SQLITE_DB_STATUS_CACHE_HIT and MISS options. For querying the number of cache hits and misses on a per-connection basis. (check-in: [5100b6e9dc] user: dan branch: trunk, size: 7506) | |
2011-09-20
| ||
15:53 | [5bd4b18b7a] part of check-in [892723575c] Add SQLITE_STMTSTATUS_CACHE_HIT/MISS and SQLITE_DB_STATUS_CACHE_HIT/MISS. For querying the number of pager cache hits and misses on a statement or connection basis. (check-in: [892723575c] user: dan branch: cache-stats, size: 7390) | |
2011-04-04
| ||
18:22 | [7ac64842c8] part of check-in [ae8374af05] Add a description of access rules for the Schema object and lots of asserts to verify that the access rules are followed. (check-in: [ae8374af05] user: drh branch: schema-parse-refactor, size: 6871) | |
2010-12-20
| ||
15:51 | [4997380fbb] part of check-in [34613f1dc5] Add additional DBSTATUS options for measuring the hit and miss rates against the lookaside memory pool - information useful in tuning the lookaside size. Currently experimental pending analysis of performance impact. (check-in: [34613f1dc5] user: drh branch: experimental, size: 6807) | |
2010-07-26
| ||
19:09 | [496913d4e8] part of check-in [6df081adbf] Fix a bug in the SQLITE_STATUS_MALLOC_COUNT counter. Add an ALWAYS() around a condition in the SQLITE_DBSTATUS_SCHEMA_USED logic that is always true. (check-in: [6df081adbf] user: drh branch: trunk, size: 6173) | |
18:43 | [f61b49b65f] part of check-in [8f8e442b3a] Add the SQLITE_STATUS_MALLOC_COUNT option for sqlite3_status(). (check-in: [8f8e442b3a] user: drh branch: trunk, size: 6164) | |
15:57 | [51f65ba976] part of check-in [e327ef37fa] When calculating schema memory, use the actual allocated size of hash elements, not sizeof(HashElem). Also fix a bug in dbstatus.test. (check-in: [e327ef37fa] user: dan branch: experimental, size: 6162) | |
12:36 | [0fa47a4331] part of check-in [c04907e698] Remove an assert() that uses a variable removed earlier. (check-in: [c04907e698] user: dan branch: experimental, size: 6025) | |
12:05 | [ff0f61918f] part of check-in [00e55102a8] Change the way SubProgram objects are deleted so that the code is the same for deletion and measurement. (check-in: [00e55102a8] user: dan branch: experimental, size: 6061) | |
11:59 | [0fb0feca10] part of check-in [620bad0357] Update comments to better documentation the new memory measurement functions. (check-in: [620bad0357] user: drh branch: experimental, size: 6224) | |
2010-07-24
| ||
11:28 | [ab77d17fbf] part of check-in [9aa30342f4] Experimental code to measure memory consumed by database schemas and prepared statements. (check-in: [9aa30342f4] user: dan branch: experimental, size: 5854) | |
2010-07-22
| ||
17:55 | [e2ad9f18c1] part of check-in [241f7bd190] Make the sqlite3_db_status() routine threadsafe. (check-in: [241f7bd190] user: dan branch: trunk, size: 4108) | |
2010-03-10
| ||
21:42 | [4df6fe7dce] part of check-in [418c6d8113] Add the SQLITE_DBSTATUS_CACHE_SIZE verb for sqlite3_db_status(). The highwater mark does not yet work on this verb. (check-in: [418c6d8113] user: drh branch: trunk, size: 3943) | |
2010-02-23
| ||
20:11 | [d329385a2c] part of check-in [edea3bb740] Continuing improvements to error reporting and the sqlite3_log() routine. (check-in: [edea3bb740] user: drh branch: trunk, size: 3365) | |
2009-11-10
| ||
01:30 | [e651be6b30] part of check-in [f6c045f649] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f649] user: drh branch: trunk, size: 3360) | |
2008-09-02
| ||
00:52 | [237b193efa] part of check-in [ef26ea5c46] Continuing work on adding full support for the SQLITE_OMIT_WSD compile-time option. (CVS 5658) (check-in: [ef26ea5c46] user: drh branch: trunk, size: 3416) | |
2008-08-12
| ||
15:21 | [8caa772cd9] part of check-in [697fe7a316] Revise the initialization and shutdown logic so that it no longer keeps a recursive mutex allocated for the whole interval but instead releases the mutex as soon as possible. Do not reset status values upon initialization. (CVS 5559) (check-in: [697fe7a316] user: drh branch: trunk, size: 2814) | |
2008-08-05
| ||
17:53 | [b39b4468fe] part of check-in [c4e9b82406] Add SQLITE_STATUS_PAGECACHE_SIZE and SQLITE_STATUS_SCRATCH_SIZE. (CVS 5537) (check-in: [c4e9b82406] user: drh branch: trunk, size: 2983) | |
2008-08-01
| ||
16:31 | [8ad1f21593] part of check-in [6a6b94302a] Test cases for sqlite3_db_config() and sqlite3_db_status(). (CVS 5518) (check-in: [6a6b94302a] user: drh branch: trunk, size: 2983) | |
2008-07-28
| ||
19:34 | [ca61c18b6f] part of check-in [e48f9697e9] Implement the "lookaside" memory allocation cache. Use of this cache makes the speed1.test script run about 15% faster. Added new interfaces to control the cache. (CVS 5488) (check-in: [e48f9697e9] user: drh branch: trunk, size: 2935) | |
2008-07-25
| ||
15:39 | [0f72b854aa] part of check-in [ef0250f3dc] Add the capability to track the maximum depth of the LALR(1) parser stack so that critical applications can check to see if they are getting close to limits. (CVS 5481) (check-in: [ef0250f3dc] user: drh branch: trunk, size: 2285) | |
2008-07-11
| ||
16:15 | [2076bc9966] part of check-in [d7e2f0d2d4] Additional test coverage for the btree module. Remove the failsafe() macro and replace it with ALWAYS() and NEVER(). (CVS 5395) (check-in: [d7e2f0d2d4] user: drh branch: trunk, size: 2285) | |
2008-07-09
| ||
13:28 | [b8d7b1f6b5] part of check-in [8aae4fe7e7] Begin adding the failsafe() macro. (CVS 5383) (check-in: [8aae4fe7e7] user: drh branch: trunk, size: 2451) | |
2008-06-19
| ||
13:20 | Added: [6cb1037799] part of check-in [298113d4a7] Check in the missing status.c source file. (CVS 5245) (check-in: [298113d4a7] user: drh branch: trunk, size: 2285) | |