aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteLimit.h
Commit message (Collapse)AuthorAge
* Add a C-source spell-checking facility. make misspell (on Nix)larrybr2023-06-07
| | | FossilOrigin-Name: 26c1bb4bd9e9f56613c3aa87407a7f562fd4ebde5bfd6dece02078001d9a45f8
* Fix a crash that could occur in SQLITE_MAX_EXPR_DEPTH=0 builds when ↵dan2020-08-20
| | | | | processing SQL containing syntax errors. FossilOrigin-Name: 5f58dd3a19605b6f49b4364fa29892502eff35f12a7693a8694100e1844711ea
* Increase the default upper bound on the number of parameters in a singledrh2020-02-12
| | | | | SQL statement to 32766 (from 999). FossilOrigin-Name: 2def75693a8ae002375aff80db0e6c970c75f75e8b6ba64f2c518712badb0ae8
* Begin enforcing the SQLITE_LIMIT_VDBE_OP. The documentation warned that thisdrh2017-03-17
| | | | | day might come. FossilOrigin-Name: ef5914617088cbf89bfae88f63ea959a07f02dff387ddc2b43948ad99c6a97b8
* Update a requirement mark. No changes to code.drh2016-03-23
| | | FossilOrigin-Name: 412984642af40578ec611d8c0b7c0508cb5cf9c9
* Change the default cache_size to -2000 (which means 2000*1024 bytesdrh2016-03-04
| | | | | independent of page_size). FossilOrigin-Name: 2682e8e413fadbca0673f242769af17bfd291559
* Change the default page size for new database files to 4096 (from 1024).drh2016-03-04
| | | | | | Except, when building the testfixture, preserve the legacy page size. Also fix a comment on SQLITE_MAX_ATTACHED. FossilOrigin-Name: 2e8a9ca9d3d6efddc31f01074d14acae56568c37
* Remove all references to SQLITE_DEFAULT_TEMP_CACHE_SIZE. Add requirementsdrh2015-02-27
| | | | | marks related to cache_size changing. FossilOrigin-Name: 766ad65025a9d5815300978e6e349f5af5db6012
* New requirements marks and a few new test cases to go with them. No changesdrh2015-02-27
| | | | | to code. FossilOrigin-Name: 8c2b29d9acb92d47f4deec21a7c2dca52db63345
* Refactoring the mmap interface. The controlling pragma is now "mmap_size"drh2013-04-15
| | | | | | | | | | | | | | | | instead of "mmap_limit". Also change SQLITE_CONFIG_MMAP_LIMIT and SQLITE_FCNTL_MMAP_LIMIT to SQLITE_CONFIG_MMAP_SIZE and SQLITE_FCNTL_MMAP_SIZE, respecctively. The default mmap_size is now always 0, meaning that memory mapped I/O is off by default. There is a new compile-time option SQLITE_MAX_MMAP_SIZE that determines a hard upper bound on the mmap_size. Setting SQLITE_MAX_MMAP_SIZE to zero disables the memory-mapped I/O logic and causes it to be omitted from the build. An extra argument is added to SQLITE_CONFIG_MMAP_SIZE that can optionally lower the SQLITE_MAX_MMAP_SIZE at start-time. The SQLITE_MAX_MMAP_SIZE is zero for platforms where we know that it does not work, meaning that it cannot be turned on by mistake on those platforms. FossilOrigin-Name: ea1404a10abd7f68e1f8e0708c8a3199d1f79665
* Disable the use of memory-mapped I/O if the SQLITE_DISABLE_MMAP macro isdrh2013-04-08
| | | | | | defined. Automatically define this macro for OpenBSD and QNX. Other systems are likely to be added to the disabled list over time. FossilOrigin-Name: 8a4314a398c6c6efb25e6993c826b7e60d9bb1f9
* Fix a bug in the detection of iOS when setting the default mmap_limit.drh2013-04-03
| | | FossilOrigin-Name: ac1432b3a8e968be4cbc138b4a35f34187c0c36f
* Change the mmap_limit pragma to report the new limit, or to report thedrh2013-04-03
| | | | | | | existing limit if called with no arguments. Report the default mmap_limit as part of PRAGMA compile_options. Set the default mmmap_limit to 0 for all systems other than linux, mac, windows, and solaris. FossilOrigin-Name: 2d9f1327fe79e40435ce1e2594d7cd9a5aea0ef2
* Fix the build for Mac.drh2013-04-02
| | | FossilOrigin-Name: d36ce0bbad58445c983597ee93438fe07b659cdc
* Proposed template preprocessor magic for activating mmap only on platformsdrh2013-04-02
| | | | | where we know it works. FossilOrigin-Name: d96272f031102514b02bd839aac9e37618872200
* Memory-mapped I/O is now on by default. The "PRAGMA mmap_limit(N)" can bedrh2013-03-25
| | | | | | | used to issue a hint to the VFS to limit mmap space to N bytes. The VFS is free to ignore that hint if desired. However, if "PRAGMA mmap_limit(0)" is used, xFetch is never called. FossilOrigin-Name: 1b37c4effdd03aa2ea938a71b4f22ed27391689b
* Update a comment in sqliteLimit.h. No changes to code or tests.dan2011-04-06
| | | FossilOrigin-Name: b7296fd380319bcae26b1ac13f23e57a4852881b
* Disable the SQLITE_MAX_PAGE_SIZE compile time option (it is now always set ↵dan2010-08-18
| | | | | to 65536). Fix some other problems in test files. FossilOrigin-Name: 56cc883d3af5574c9dafecef8aa96d1d05c01b83
* Increase the maximum page size from 32k to 64k.drh2010-08-12
| | | FossilOrigin-Name: 45362437d491fbe0f033a67b398f8ba68cbf1b3b
* Add the "PRAGMA wal_autocheckpoint" command. Rename "PRAGMA checkpoint" to ↵dan2010-05-03
| | | | | "PRAGMA wal_checkpoint". FossilOrigin-Name: 714e5947264571386f966aa8fcdd5607b5832238
* Remove the obsolete "$Id:$" RCS identifier strings from the source code.drh2009-11-10
| | | FossilOrigin-Name: f6c045f649036958078cb15cd9d5453680c82b0c
* Recover an ophaned branch that resulted from some ill-advised "shunning".drh2009-11-05
| | | | | | This check-in should be identical to [bd443f39a9] except that it should be on the trunk. FossilOrigin-Name: 38eaf1ab6e05161e6dc7cd69e942aeca16548c45
* Add some tests of statements in foreignkeys.html.dan2009-10-07
| | | FossilOrigin-Name: 8382867956caf20f62c46c15b456c1c16d0824fd
* Reduce default SQLITE_MAX_TRIGGER_DEPTH when SQLITE_SMALL_STACK is defined.shane2009-09-10
| | | FossilOrigin-Name: 913fb70ea85f05d94db5cf2e692a7c8b7489e3ba
* Add the SQLITE_LIMIT_TRIGGER_DEPTH option to sqlite3_limit().drh2009-09-07
| | | FossilOrigin-Name: d7dc8b433691745b3842282569f1573d1e057963
* Improve coverage of pager.c. (CVS 6158)danielk19772009-01-10
| | | FossilOrigin-Name: 855c4093cf331496d9ef508011ad814e91e3882f
* Change SQLITE_MAX_FUNCTION_ARG from 100 to 127 to match invariant H16124. ↵danielk19772009-01-07
| | | | | Ticket #3567. (CVS 6134) FossilOrigin-Name: 1fe79ffd772900bdca85ec6cf072677be53cd5ff
* Change comment in sqliteLimit.h to correctly describe thedrh2008-03-26
| | | | | SQLITE_MAX_ATTACHED #define. Ticket #3016. (CVS 4920) FossilOrigin-Name: d016d0784097e6657de26ccc6bece34913093fb0
* Initial implementation of per-connection limits and the sqlite3_limit() API.drh2008-03-20
| | | | | | The sqllimits1.test script crashes. SQLITE_LIMIT_PAGE_COUNT and SQLITE_LIMIT_VDBE_OP are currently ignored. (CVS 4897) FossilOrigin-Name: 60c77882b2de9f6a45f8bd87c9c6a0cc613f8373
* When SQLITE_MAX_SQL_LENGTH is 0, disable the limit. Make the default 0.drh2007-12-17
| | | | | | Once again build the sqlite3 CLI from individual source files so that it can be built on systems that lack tclsh. Tickets #2845 and #2846. (CVS 4636) FossilOrigin-Name: 07aeca3b9c51e538ba7939950a970f62e51bd3ea
* Change all instances of "it's" in comments to either "its" or "it is",drh2007-12-13
| | | | | | as appropriate, in case the comments are ever again read by a pedantic grammarian. Ticket #2840. (CVS 4629) FossilOrigin-Name: 4e91a267febda572e7239f0f1cc66b3102558c36
* Fix a comment on the SQLITE_SQL_MAX_LENGTH definition. (CVS 4610)drh2007-12-11
| | | FossilOrigin-Name: 9335c940504f5979066b70ec445b57acfb251713
* Make sure the default page size never exceeds the maximum page size. (CVS 4525)drh2007-11-05
| | | FossilOrigin-Name: 9c2731f143d52f8bf27f309612c38a1be22e3019
* Select the default page size for new databases based on the sector-size and ↵danielk19772007-08-24
| | | | | IOCAP flags. (CVS 4286) FossilOrigin-Name: 13dda2e8e879835c21e539ba3ff8f96face1af4c
* Change the name of the "limits.h" source file to "sqliteLimit.h". drh2007-06-19
Ticket #2428. (CVS 4091) FossilOrigin-Name: 64bcc41f12e902fd025c9ba36c09dd6e4cf25923