aboutsummaryrefslogtreecommitdiff
path: root/src/bitvec.c
Commit message (Collapse)AuthorAge
* Improved selection of the divisor when subdividing nested Bitvec objects.drh2025-06-10
| | | | | | 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. FossilOrigin-Name: f7ab764ed9df6d7a4a96cb0933d291f00174f33fed3d9951785078fe225adcb7
* Minor corrections to the new Bitvec testing logic.drh2025-06-10
| | | FossilOrigin-Name: 77b79ca1277419b91589aff2c601d4abdd7107d48019a58f7f7c85d96c2a538e
* Enhancements to sqlite3BitvecBuiltinTest() that allow testing code todrh2025-06-10
| | | | | create very large Bitvec objects that do not use the linear array cross-check. FossilOrigin-Name: c5680672cae23f65637eebf66f3bb983a2864be03ea70378832034f3c89ef728
* Improved diagnostics for Bitvec: Add the sqlite3ShowBitvec() routine thatdrh2025-06-10
| | | | | | can be called from a debugger (only available with SQLITE_DEBUG). Add new output opcodes for sqlite3BitvecBuiltinTest(). FossilOrigin-Name: dea1e37fa67ada6efc1533b449d9eb22338d9e58eec8f89b48c38319c212c8f4
* Tamp down various harmless compiler warnings. Use "int" in places insteaddrh2025-02-22
| | | | | | of "u16" or "i16" since the compiler complains less and generates faster code. FossilOrigin-Name: 742827f049768c4f69ccdfaadfad339aaad3bc126d3a68b90cfea01d825bf7ce
* Code changes that make it easier to prove that no 32-bit integer overflowsdrh2025-02-17
| | | | | | happen during memory allocation. No problems fixed; this change is just to make future maintenance easier. FossilOrigin-Name: 215650a5a1d55bdbca9c92524804a1a54456a17f42a17e53747b21a6507506f5
* Add a C-source spell-checking facility. make misspell (on Nix)larrybr2023-06-07
| | | FossilOrigin-Name: 26c1bb4bd9e9f56613c3aa87407a7f562fd4ebde5bfd6dece02078001d9a45f8
* Fix harmless static-analyzer warnings.drh2021-10-04
| | | FossilOrigin-Name: 32f33f356931242b59c01b5df7e180941231e3d9c91577ad33aa4a01e9d59092
* Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE.drh2016-12-07
| | | FossilOrigin-Name: f360818737e73ee4f944685a547abc8f14f47819
* Enhance ability to debug out-of-memory errors.mistachkin2016-02-13
| | | FossilOrigin-Name: 6a9c4a3ebfb7cc0738ef6634440ccab44a21ff28
* Fix over-length source code lines. No logic changes.drh2015-11-21
| | | FossilOrigin-Name: 198d191b2f5ef7d63ac0093c701955c9052fd734
* Simplifications and performance improvement in pager_write().drh2015-06-29
| | | FossilOrigin-Name: ab7aeeead395a05b91a921ef9ebe9252fffad667
* Very small size reduction and performance increase in sqlite3BitvecTest().drh2015-06-29
| | | FossilOrigin-Name: 9b3a7281bd45994edf813a687e4b7a0761697929
* Use sqlite3_malloc64() in place of sqlite3_malloc() internally.drh2015-04-29
| | | FossilOrigin-Name: 48f553b05c05373c0af4b9c3a542979db3a2ee19
* Many spelling fixes in comments. No changes to code.mistachkin2013-03-21
| | | FossilOrigin-Name: 6f6e2d50941e444ebc83604daddcc034137a05b7
* Replace a few sqlite3_malloc()+memset() sequences with calls to ↵dan2012-07-30
| | | | | sqlite3MallocZero(). FossilOrigin-Name: 305b6667265353b858b79bfea1745e64ff3bb7d3
* Make the size of a Bitvec object 512 bytes on all platforms, instead ofdrh2010-08-05
| | | | | having the size depend on the size of a pointer. This makes testing easier. FossilOrigin-Name: ca479f3de2927ccc05dc76d10e40c00b8e0c88d1
* Remove the obsolete "$Id:$" RCS identifier strings from the source code.drh2009-11-10
| | | FossilOrigin-Name: f6c045f649036958078cb15cd9d5453680c82b0c
* Increase the size of bitvec objects to 1024 bytes on 64-bit systems.drh2009-09-09
| | | FossilOrigin-Name: f1272b90f6078d301ab05592593e9415f2b2b90b
* Change a condition to a '%' operator in bitvec.c. (CVS 6940)drh2009-07-25
| | | FossilOrigin-Name: 10250fe5c039dbef2e1614e6320f7bd354c10211
* Code tweaks in support of full-coverage testing. (CVS 6907)drh2009-07-18
| | | FossilOrigin-Name: 22c6dbfdce965e32f3df9aec28e46e714620c362
* Further reductions in the amount of stack space required. (CVS 6707)drh2009-06-02
| | | FossilOrigin-Name: 04bad9eb6dd8bf7cafc9f3918b676e95d5b1c984
* Increase test coverage of bitvec.c slightly. Fix the line length on adrh2009-04-01
| | | | | comment in bitvec.c. (CVS 6432) FossilOrigin-Name: ca3aa3ba7d751be1c2bcd100a203cd9c794a6cef
* Big change to make pager.c easier to follow. Unused variables removed, ↵danielk19772009-01-20
| | | | | comments improved, etc. (CVS 6197) FossilOrigin-Name: 12f7346c13c180ed73d7a2e3b590be457360254a
* Revert (6187). (CVS 6188)danielk19772009-01-16
| | | FossilOrigin-Name: a353c1ab376b159c4d12532412365318cdbdcc60
* This commit is an error. Reverted by (6188). (CVS 6187)danielk19772009-01-16
| | | FossilOrigin-Name: aa67fd0cdb4f53a0c6e15c001d37554d15006718
* Memory allocation failure in Bitvec are probably all benign. Still, adddrh2009-01-02
| | | | | code to check this, just to be sure. (CVS 6104) FossilOrigin-Name: 4688e1c8b1203c3538aa862421ed344888059fe2
* Update the SECURE_DELETE code to track the latest changes in the pager. (CVS ↵drh2008-11-19
| | | | | 5928) FossilOrigin-Name: e058f509374e98e48eafeba2f1dadff9633d1190
* Avoid signed/unsigned comparison warnings in bitvec.c by changing thedrh2008-11-11
| | | | | types of loop variables to unsigned int. (CVS 5880) FossilOrigin-Name: da869446c53ec6ed769bba01cdc2b6fd69a8b5c9
* Change the name of the Cursor object to VdbeCursor. (CVS 5857)drh2008-11-03
| | | FossilOrigin-Name: fdb98fd8c1706085ebeef8e48ac6737839bed5e5
* Add a mode to the sqlite3_test_control() interface to register hooks called ↵danielk19772008-06-20
| | | | | at the beginning and end of "benign malloc failure" blocks. This allows malloc() failure testing to be done using public APIs only. (CVS 5254) FossilOrigin-Name: 56c8af1452dfdc8da858a2411bd6f3663a8a9326
* Make the benign-fault setting recursive. Make all malloc failuresdrh2008-05-13
| | | | | during a rollback benign since there is nothing we can do about them. (CVS 5128) FossilOrigin-Name: a9d1d931358637a6f039723a053098f65530de4b
* Get the SQLITE_SECURE_DELETE compile-time option working again.drh2008-04-14
| | | | | Ticket #3050. (CVS 4999) FossilOrigin-Name: 40ba51fd4c621e29e7ff85495b1212c92f06ab31
* Add a completely new testing system for the Bitvec object. The newdrh2008-03-21
| | | | | | | 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) FossilOrigin-Name: 2498d3ea36ecab6d9c0f04ef1c49d76a7a215a4f
* Revise Bitvec struct sizing to prevent assertion failure on 64-bit systems ↵mlcreech2008-03-14
| | | | | (CVS 4862) FossilOrigin-Name: a3c12dbe95c8fb93f5b9006bf5d2c5b933fc5e87
* Add the Bitvec object for tracking which pages have been journalled.drh2008-02-18
This reduces memory consumption and runs faster than the bitmap approach it replaced. (CVS 4794) FossilOrigin-Name: 7c57bdbcdb84d95419ec7029d2e13c593854a8d8