SQLite

All files named ”src/bitvec.c”
Login

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

History for src/bitvec.c

2025-06-28
14:16
[1a048c91b2] part of check-in [1ae8d60237] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [1ae8d60237] user: drh branch: begin-concurrent, size: 15958)
2025-06-10
20:06
[203368f515] part of check-in [5d40152bfe] Improved selection of the divisor when subdividing nested Bitvec objects. This fixes a potential stack overflow that can occur when the database size is within 60 pages of the maximum allowed by the file format. (check-in: [5d40152bfe] user: drh branch: branch-3.50, size: 13344)
19:52
[e242d44967] part of check-in [f7ab764ed9] Improved selection of the divisor when subdividing nested Bitvec objects. This fixes a potential stack overflow that can occur when the database size is within 60 pages of the maximum allowed by the file format. (check-in: [f7ab764ed9] user: drh branch: trunk, size: 15799)
18:26
[997e671e5c] part of check-in [77b79ca127] Minor corrections to the new Bitvec testing logic. (check-in: [77b79ca127] user: drh branch: trunk, size: 15703)
17:22
[bf4516e0b6] part of check-in [c5680672ca] Enhancements to sqlite3BitvecBuiltinTest() that allow testing code to create very large Bitvec objects that do not use the linear array cross-check. (check-in: [c5680672ca] user: drh branch: trunk, size: 15790)
16:02
[248cfe775b] part of check-in [dea1e37fa6] Improved diagnostics for Bitvec: Add the sqlite3ShowBitvec() routine that can be called from a debugger (only available with SQLITE_DEBUG). Add new output opcodes for sqlite3BitvecBuiltinTest(). (check-in: [dea1e37fa6] user: drh branch: trunk, size: 15495)
2025-03-03
15:53
[93c1fb3e5d] part of check-in [051a6b159e] Merge all the latest trunk enhancements into the begin-concurrent branch. (check-in: [051a6b159e] user: drh branch: begin-concurrent, size: 13407)
2025-02-22
16:44
[782cc29b42] part of check-in [742827f049] Tamp down various harmless compiler warnings. Use "int" in places instead of "u16" or "i16" since the compiler complains less and generates faster code. (check-in: [742827f049] user: drh branch: trunk, size: 13248)
2025-02-18
14:37
[1028c37a0a] part of check-in [3c87a6d195] Merge all the latest trunk enhancements into the begin-concurrent branch. (check-in: [3c87a6d195] user: drh branch: begin-concurrent, size: 13374)
2025-02-17
17:33
[d64aa60cd5] part of check-in [215650a5a1] Code changes that make it easier to prove that no 32-bit integer overflows happen during memory allocation. No problems fixed; this change is just to make future maintenance easier. (check-in: [215650a5a1] user: drh branch: trunk, size: 13215)
2023-06-22
13:28
[501daeef83] part of check-in [5bd26fea6a] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [5bd26fea6a] user: drh branch: begin-concurrent, size: 13369)
2023-06-07
08:40
[9eac5f42c1] part of check-in [26c1bb4bd9] Add a C-source spell-checking facility. make misspell (on Nix) (check-in: [26c1bb4bd9] user: larrybr branch: spell-check, size: 13210)
2022-10-21
20:12
[4915778f09] part of check-in [5dd7858820] Begin transitioning the fixed-length (64-bit) bitmap used to keep track of the subset of columns of a table that are used by a query into a more general structure that can work with wide tables. Experimental. (check-in: [5dd7858820] user: drh branch: column-set, size: 14417)
2021-10-21
14:37
[e67e4ebed5] part of check-in [0770f320b9] Merge all recent trunk changes into the begin-concurrent-report branch. (check-in: [0770f320b9] user: drh branch: begin-concurrent-report, size: 15412)
14:13
[3907fcbe8a] part of check-in [ae4eed0b7e] Merge recent trunk enhancements into begin-concurrent branch. (check-in: [ae4eed0b7e] user: drh branch: begin-concurrent, size: 13378)
2021-10-04
22:34
[7c849aac40] part of check-in [32f33f3569] Fix harmless static-analyzer warnings. (check-in: [32f33f3569] user: drh branch: trunk, size: 13219)
2020-07-29
16:18
[05e550674e] part of check-in [a80ae2c98b] 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: [a80ae2c98b] user: drh branch: typos, size: 13216)
2020-03-10
21:14
[a012cfe503] part of check-in [9ae970fdc1] Fix test and other problems with reporting pages read and written. (check-in: [9ae970fdc1] user: dan branch: begin-concurrent-report, size: 15408)
2020-03-09
21:00
[dce77b61cc] part of check-in [b661ccc88f] Report on pages, as well as keys, read and written by BEGIN CONCURRENT transactions. (check-in: [b661ccc88f] user: dan branch: begin-concurrent-report, size: 15472)
2017-12-11
14:02
[8433d9e98d] part of check-in [163c870950] Abort on an invalid paramater to sqlite3BitvecSet(). (check-in: [163c870950] user: drh branch: begin-concurrent, size: 13374)
2017-05-26
18:18
[c77b7f5759] part of check-in [a7e0e7a483] Adjust the bitvec related sqlite3_log messages added by [9527089b]. (check-in: [a7e0e7a483] user: dan branch: begin-concurrent, size: 13361)
2017-05-25
21:02
[e65c3d8ce9] part of check-in [47a7dd9235] Fix a problem with the deferred page allocation on this branch that could occur when the database file is just slightly smaller than the PENDING_BYTE page offset. (check-in: [47a7dd9235] user: dan branch: begin-concurrent, size: 13353)
2017-05-19
19:57
[fc0edcc200] part of check-in [9527089b7a] Invoke sqlite3_log() in response to irregularities surrounding the Pager.pAllRead bit-vector. (check-in: [9527089b7a] user: dan branch: begin-concurrent, size: 13359)
2017-01-18
20:14
[263395e75a] part of check-in [2a8f6c890c] Add temporary code to record and report on the set of b-tree pages read and written by the current transaction. This is likely still buggy. (check-in: [2a8f6c890c] user: dan branch: transaction-pages, size: 14693)
2016-12-07
15:49
[17ea48eff8] part of check-in [f360818737] Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. (check-in: [f360818737] user: drh branch: trunk, size: 13215)
2016-02-13
23:43
[3ee4c8b2c9] part of check-in [6a9c4a3ebf] Enhance ability to debug out-of-memory errors. (check-in: [6a9c4a3ebf] user: mistachkin branch: noMemBkpt, size: 13229)
2015-11-21
17:27
[1a78d450a1] part of check-in [198d191b2f] Fix over-length source code lines. No logic changes. (check-in: [198d191b2f] user: drh branch: trunk, size: 13219)
2015-06-29
14:11
[d1f21d7d91] part of check-in [ab7aeeead3] Simplifications and performance improvement in pager_write(). (check-in: [ab7aeeead3] user: drh branch: trunk, size: 13217)
03:28
[828b218d3f] part of check-in [9b3a7281bd] Very small size reduction and performance increase in sqlite3BitvecTest(). (check-in: [9b3a7281bd] user: drh branch: trunk, size: 13124)
2015-04-29
16:50
[5eb7958c3b] part of check-in [48f553b05c] Use sqlite3_malloc64() in place of sqlite3_malloc() internally. (check-in: [48f553b05c] user: drh branch: trunk, size: 13131)
2013-03-21
21:20
[19a4ba637b] part of check-in [6f6e2d5094] Many spelling fixes in comments. No changes to code. (check-in: [6f6e2d5094] user: mistachkin branch: trunk, size: 13129)
2012-07-30
14:53
[26675fe8e4] part of check-in [305b666726] Replace a few sqlite3_malloc()+memset() sequences with calls to sqlite3MallocZero(). (check-in: [305b666726] user: dan branch: trunk, size: 13129)
2010-08-05
11:56
[af50f1c8c0] part of check-in [ca479f3de2] Make the size of a Bitvec object 512 bytes on all platforms, instead of having the size depend on the size of a pointer. This makes testing easier. (check-in: [ca479f3de2] user: drh branch: trunk, size: 13157)
2009-11-10
01:30
[06ad2c36a9] part of check-in [f6c045f649] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f649] user: drh branch: trunk, size: 13209)
2009-09-09
12:41
[ed215b9573] part of check-in [f1272b90f6] Increase the size of bitvec objects to 1024 bytes on 64-bit systems. (check-in: [f1272b90f6] user: drh branch: trunk, size: 13271)
2009-07-25
17:33
[e08f6c1a95] part of check-in [10250fe5c0] Change a condition to a '%' operator in bitvec.c. (CVS 6940) (check-in: [10250fe5c0] user: drh branch: trunk, size: 13219)
2009-07-18
20:01
[cfbf6af5b0] part of check-in [22c6dbfdce] Code tweaks in support of full-coverage testing. (CVS 6907) (check-in: [22c6dbfdce] user: drh branch: trunk, size: 13233)
2009-06-02
21:31
[0ef0651714] part of check-in [04bad9eb6d] Further reductions in the amount of stack space required. (CVS 6707) (check-in: [04bad9eb6d] user: drh branch: trunk, size: 13124)
2009-04-01
23:49
[ef370407e0] part of check-in [ca3aa3ba7d] Increase test coverage of bitvec.c slightly. Fix the line length on a comment in bitvec.c. (CVS 6432) (check-in: [ca3aa3ba7d] user: drh branch: trunk, size: 12707)
2009-01-20
17:06
[44f7059ac1] part of check-in [12f7346c13] Big change to make pager.c easier to follow. Unused variables removed, comments improved, etc. (CVS 6197) (check-in: [12f7346c13] user: danielk1977 branch: trunk, size: 12654)
2009-01-16
16:23
[1da48f9151] part of check-in [a353c1ab37] Revert (6187). (CVS 6188) (check-in: [a353c1ab37] user: danielk1977 branch: trunk, size: 12508)
15:21
[8042927940] part of check-in [aa67fd0cdb] This commit is an error. Reverted by (6188). (CVS 6187) (check-in: [aa67fd0cdb] user: danielk1977 branch: trunk, size: 12654)
2009-01-02
21:39
[a97d315fc7] part of check-in [4688e1c8b1] Memory allocation failure in Bitvec are probably all benign. Still, add code to check this, just to be sure. (CVS 6104) (check-in: [4688e1c8b1] user: drh branch: trunk, size: 12500)
2008-11-19
18:30
[4300d311b1] part of check-in [e058f50937] Update the SECURE_DELETE code to track the latest changes in the pager. (CVS 5928) (check-in: [e058f50937] user: drh branch: trunk, size: 12567)
2008-11-11
15:48
[9e922b2577] part of check-in [da869446c5] Avoid signed/unsigned comparison warnings in bitvec.c by changing the types of loop variables to unsigned int. (CVS 5880) (check-in: [da869446c5] user: drh branch: trunk, size: 10640)
2008-11-03
20:55
[bb0b12b258] part of check-in [fdb98fd8c1] Change the name of the Cursor object to VdbeCursor. (CVS 5857) (check-in: [fdb98fd8c1] user: drh branch: trunk, size: 10605)
2008-06-20
14:59
[95c86bd18d] part of check-in [56c8af1452] Add a mode to the sqlite3_test_control() interface to register hooks called at the beginning and end of "benign malloc failure" blocks. This allows malloc() failure testing to be done using public APIs only. (CVS 5254) (check-in: [56c8af1452] user: danielk1977 branch: trunk, size: 10128)
2008-05-13
13:27
[ab50c4b8c6] part of check-in [a9d1d93135] Make the benign-fault setting recursive. Make all malloc failures during a rollback benign since there is nothing we can do about them. (CVS 5128) (check-in: [a9d1d93135] user: drh branch: trunk, size: 10172)
2008-04-14
01:00
[8ec2212cfb] part of check-in [40ba51fd4c] Get the SQLITE_SECURE_DELETE compile-time option working again. Ticket #3050. (CVS 4999) (check-in: [40ba51fd4c] user: drh branch: trunk, size: 10170)
2008-03-21
16:45
[49817d442e] part of check-in [2498d3ea36] Add a completely new testing system for the Bitvec object. The new testing system uses sqlite3_test_control() instead of unpublished APIs. Now provides 100% condition/decision coverage. Obscure bugs in Bitvec found and fixed as a result of the enhanced coverage. (CVS 4902) (check-in: [2498d3ea36] user: drh branch: trunk, size: 10145)
2008-03-14
13:02
[fac68429a9] part of check-in [a3c12dbe95] Revise Bitvec struct sizing to prevent assertion failure on 64-bit systems (CVS 4862) (check-in: [a3c12dbe95] user: mlcreech branch: trunk, size: 6739)
2008-02-18
14:47
Added: [bc5b52a590] part of check-in [7c57bdbcdb] Add the Bitvec object for tracking which pages have been journalled. This reduces memory consumption and runs faster than the bitmap approach it replaced. (CVS 4794) (check-in: [7c57bdbcdb] user: drh branch: trunk, size: 6516)