aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
Commit message (Collapse)AuthorAge
...
| * Fix to the sqlite3_get_clientdata() interface.drh2023-08-30
| | | | | | FossilOrigin-Name: 937cd1762b36d48d9e7bafe42e99e524c9b5528d39f64521bce2f81d9c887db8
| * New experimental API for attaching client data to a database connection.drh2023-08-30
| | | | | | FossilOrigin-Name: d542837fdb42ebe810fc99225860d2cc7e6dd829a635bde820a09beff6bcb481
* | Fix a few SQLITE_MISUSE returns so that they call sqlite3MisuseError().drh2023-09-05
|/ | | FossilOrigin-Name: 93f74490faf8cc07e107afdab6737c6e5141ae1f01a05142bfcede2dd1b2ba4e
* Add SQLITE_EXTRA_AUTOEXT, similar to SQLITE_EXTRA_INIT but adds a builtin ↵stephan2023-08-17
| | | | | auto-extension provided by the client. Suggestion from [forum:00829394c74a670f| forum post 00829394c74a670f]. FossilOrigin-Name: 423e77277a61d7febf4c3fc737981fa22a82b5c774a8ada5375a01a0611535b2
* Fix build problems associated with SQLITE_OMIT_WSD and SQLITE_OMIT_TRIGGER.drh2023-08-03
| | | FossilOrigin-Name: de031a5ec863b11f0216d1a114740c8cf4572adb034a5d35ff1a5c07d81df800
* Unix builds now assume the presence of nanosleep() in the standard library.drh2023-08-03
| | | | | | The -DHAVE_NANOSLEEP=0 compile-time option can be used to build on systems (if any still exist) where this is not the case. FossilOrigin-Name: 779d5dc8797ea246d0397f7e94b1be716b0baa735e8d9f5a6fc4cffd887a7420
* Add option 2 to SQLITE_TESTCTRL_USELONGDOUBLE to move the setting to itsdrh2023-07-07
| | | | | | defaults. Enhance the CLI and testfixture to make use of this value. Base the default on sizeof(LONGDOUBLE_TYPE) rather than on sizeof(long double). FossilOrigin-Name: 64e6bd1c25d8e1dbfe511cba1921ff052c0fa4fe410fc9ce4435700a70cb88b1
* Whether or not to use the long-double floating point conversion techniquedrh2023-07-03
| | | | | is now a test-control setting. FossilOrigin-Name: 02ae6caff1f7925c696ad263fe78b1036364d24b6373e1baec10d53aafb14a12
* Fix straggler misspellings and tidy the custom dictionary. Also include ↵larrybr2023-06-07
|\ | | | | | | | | pickups from [forum:/info/c61fb09afd|forum post c61fb09afd]. FossilOrigin-Name: 8c291d99946eb32b20b743921202f9c7cfb716268ff526817b27adbb7942e40b
| * Remove additional traces of FTS1 and FTS2 that were missed by [2bb50d5aedef0fd2]drh2023-06-07
| | | | | | FossilOrigin-Name: 9a12bac5d24c7a8364d2127fd12c3409a53ef83e408d10f344ddd311cdba98af
* | Add a C-source spell-checking facility. make misspell (on Nix)larrybr2023-06-07
|/ | | FossilOrigin-Name: 26c1bb4bd9e9f56613c3aa87407a7f562fd4ebde5bfd6dece02078001d9a45f8
* Generalize the LEFT JOIN strength reduction optimization so that it works fordrh2023-06-01
| | | | | | RIGHT and FULL JOIN as well. Rename it to the "OUTER JOIN strength reduction" optimization. FossilOrigin-Name: d747afda5683ca5feb92866a14ccc4c5127d3378ece5cad2c3da819f2477b457
* Interpret negative arguments to sqlite3_sleep() as zero.drh2023-05-02
| | | FossilOrigin-Name: 2b542326aa8e7e1f6ed9d999b95ae5340278e0821277a17de3cc803b4af793ae
* Add SQLITE_DBCONFIG_REVERSE_SCANORDER for direct C-language access to thedrh2023-03-06
| | | | | "PRAGMA reverse_unordered_selects" setting. FossilOrigin-Name: 83e84531b46814aea6dad1ce8283cb9f6b90ad52badb60b875ea8f66e4ac0925
* Make the SQLITE_DBCONFIG_STMT_SCANSTATUS option on by default.dan2023-03-03
| | | FossilOrigin-Name: 5a09191186bc03b374e0c0d029e1a15208c6b845bc2f5f5f9f6a8a882809d9f3
* Change the name of SQLITE_DBCONFIG_STMT_SCANSTATS to ↵dan2023-02-28
| | | | | SQLITE_DBCONFIG_STMT_SCANSTATUS. FossilOrigin-Name: a63e4a150b505fc309fac847131009ee9965eb1b798ebcb202ec8b52f9189240
* Add an sqlite3_db_config() option - SQLITE_DBCONFIG_STMT_SCANSTATS - for ↵dan2023-02-28
| | | | | enabling and disabling the collection of sqlite3_stmt_scanstats() statistics in SQLITE_ENABLE_STMT_SCANSTATUS builds. Collection of statistics is disabled by default. FossilOrigin-Name: 0f5579bef27b84ee855065cfe87703c51e1f9773906a9e0d4e4dafc90bd0e553
* Back out the SQLITE_CONFIG_URI option from anytime-config.drh2023-02-24
| | | FossilOrigin-Name: 0de98b8e21e4cbf2438160651585ea23ebea952c5a4e7d88e5eabe5cc49517b2
* Allow the sqlite3_config() interface to be invoked at any time for a fewdrh2023-02-23
| | | | | | choosen options: SQLITE_CONFIG_LOG, SQLITE_CONFIG_URI, and SQLITE_CONFIG_PCACHE_HDRSZ. This list will likely change before release. FossilOrigin-Name: e1702eb48d13c7c9b7605f1e77242672222c53059edcdc4e9cea59510715822a
* Add a new sqlite3_is_interrupted() interface that can be used by long-runningdrh2023-01-11
| | | | | | app-defined functions and similar to see if they need to exit early due to an sqlite3_interrupt() call. FossilOrigin-Name: d030f341369b7f32789cbcf3d0ad9a2ac5cad99a56dac7dfe68b7f06dc339b17
* Fix JSON functions so that they work correctly under PRAGMA trusted_schema.drh2023-01-09
| | | | | [forum:/forumpost/c88a671ad083d153|Forum thread c88a671ad083d153]. FossilOrigin-Name: 51a5d83c425d2e31508b73074d0076156817afb19003f847d16bf4a69ae5077b
* Fix an unsafe use of sqlite3_mprintf() in sqlite3_overload_function() ↵dan2022-12-15
| | | | | identified by forum post: <https://sqlite.org/forum/forumpost/95b338860d>. FossilOrigin-Name: 9fa2b94c2e0fd43c1a9c15a79fe1325afa1699f0685dcd039024a80185cc5658
* Add new logging code SQLITE_NOTICE_RBU and use it when logging for the ↵dan2022-12-12
| | | | | spurious error that RBU injects into SQLite as part of applying an update. FossilOrigin-Name: cd881d35150be7f28cc1ca1eca0e950b5a039bef61190fcae4f944ef0e91f234
* Add the SQLITE_FCNTL_RESET_CACHE verb. Use it to ensure that the page cache ↵dan2022-11-28
| | | | | is purged before and after a the recovery extension is run. FossilOrigin-Name: 6db0bc4bc0d272b610bef2aeeae43f539ed6e7cc0a9cc767d5af85ecb0019d5f
* Instead of (const char*), use a special type - sqlite3_filename - as the ↵dan2022-11-01
| | | | | filename argument passed to VFS method xOpen(). FossilOrigin-Name: bd1fe4de8a2e8b8de19a7f90b9fdafb641ad11a6f0c96c0b4495d5bf80885675
* Fix a #ifdef involving SQLITE_OS_KV that was adding code unnecessarily.drh2022-11-01
| | | FossilOrigin-Name: b6c1b6e4a3bc21c40d6faca6f70842df5201f21c96a076a895410660630461c0
* Automatically set temp_store=MEMORY if the VFS is kvvfs.drh2022-10-27
| | | FossilOrigin-Name: a4d40f6346e7eb2a5239684dba86f297358122768a4d4bf6786b6028f4300e04
* When compiled with SQLITE_OS_KV_OPTIONAL, the magic names ":localStorage:"drh2022-09-20
| | | | | and ":sessionStorage:" are recognized and converted to use the kv-vfs. FossilOrigin-Name: c5db9262d0388ccb0e84c6a4b4e2e786dd634f13874e4034ba7b175befa4ce90
* Move the vfskv.c extension to src/os_kv.c and make it part of the amalgamation,drh2022-09-10
| | | | | activated if and only if SQLITE_OS_KV is true. FossilOrigin-Name: f6632e69c2ec1a7ddc4e51f3567e3bc082ee94a6dd51fdafdc0c3bf386a32d4c
* Add a mutex to the sqlite3_db_config() interface so that it is threadsafedrh2022-08-24
| | | | | | when two or more threads call it on the same database connection at the same time. FossilOrigin-Name: 459ad8846ee1ee2d3b277a291c47121692bdf477e779b06e77be8338f62237a6
* Performance enhancement for sqlite3DbFree().drh2022-08-22
| | | FossilOrigin-Name: c296a9d958ec360fc8d217363348b4918d665bccb3c4f27503a2dcef7db49052
* Fix harmless compiler warnings about unused debugging functions in treeview.c.drh2022-07-11
| | | FossilOrigin-Name: 4d6f907712e35eddf6af36eb823c3ccdfcdff1c63b2c224b3bcf34ffec95d511
* Fix for builds with both SQLITE_DEBUG and SQLITE_OMIT_WINDOWFUNC defined.dan2022-07-05
| | | FossilOrigin-Name: 77916947ce3f0828e1c50bcb8a6438c951ab9e74d83ec4324e82e90e100b9a98
* Add the sqlite3_db_name() interface.drh2022-05-17
| | | FossilOrigin-Name: 2ad152236c408cbb1f942b221de4bf3cbaa9c35313d7eb07a63f46b6040fc981
* Avoid compiler warnings about the new sqlite3Show() debugging routinesdrh2022-04-07
| | | | | begin "defined but not used". FossilOrigin-Name: 47ddc26974fbad8233c953d435e79d4f5dd5e09fbd684ea5f4ad32f4cae6cae6
* Rename debugging defines and variables from SELECTTRACE to TREETRACE (anddrh2022-04-06
| | | | | | similar) since the functionality has how expanded to include data structures beyond SELECT statements. Should not affect deliverable builds. FossilOrigin-Name: 393fa32e188a017f431372b54037cb31e885030542f00d0bfd59da9d9db5c014
* Do not use va_arg() as an l-value, becausedrh2022-03-09
| | | | | | [forum:/forumpost/45e39c1311|AIX does not allow that], from what we are told. FossilOrigin-Name: 46d1a6de620f26fef9d0e2de6e9ea032790016441e4e6228a2f8cb30e20c9a51
* Reference the wayback machine for the dead hyperlink to the MS supportdrh2022-02-11
| | | | | | page in the comments about why the extra typedef for va_arg(). No code changes. FossilOrigin-Name: ab1a9b5b78de7c00b38357b1df08e82ce5608a14f8c675ac20c5f2dad5212f50
* Work around the MSVC bug that prevents the use of function pointer types indrh2022-02-11
| | | | | the second argument of va_arg() by adding a typedef. FossilOrigin-Name: eae3ab0a050079d050f339b2510eebd55afe4464e9b410ddacb7523f89981144
* Enhance SQLITE_TESTCTRL_LOCALTIME_FAULT so that is able to install andrh2022-02-10
| | | | | | alternative localtime() interface so that the localtime logic an be better tested. FossilOrigin-Name: 6e25cb0890e8cdc63c9a21e841844d066267fc32ad143527843f7c8d05612b53
* An attempt to integrate the JSON functions directly into the SQLite core,drh2022-01-06
| | | | | rather than holding them as an extension. FossilOrigin-Name: 583b47d865fb8d2c9ae4d3a4e70356a8a758978efb0a282f6b19775bf41fb748
* One minor change for an exceptional case in sqlite3_error_offset().drh2021-12-25
| | | FossilOrigin-Name: c93609a8b9dc2e656bb4360138606e269fd323469f7666dbc3bbc699e431313e
* Add the sqlite3_error_offset() interface. Use it in the CLI to providedrh2021-12-24
| | | | | better context for error messages. FossilOrigin-Name: b518ce77439852759bc0901071f36d622b1314c9bf3d29c279dfcc405188b975
* Add SQLITE_TESTCTRL_LOGEST and enhance the LogEst utility program.drh2021-12-09
| | | | | Improvements to testability of bloom filters. FossilOrigin-Name: 88b43d798cc5aa59855e92d3e658aee9f0a5def6ffbc5db77af048d75ecdf8cc
* Do not allow SQLITE_LIMIT_LENGTH to be set lower than 1 as an drh2021-12-06
| | | | | | SQLITE_LIMIT_LENGTH of 0 causes lots of unnecessary problems for users of the sqlite3_str object. FossilOrigin-Name: 8fd5b8ec4ab9b5554d27f25a4638d56e347eab78b60900f24b15a815d3731330
* Fix SQLITE_TESTCTRL_IMPOSTER so that it is a harmless no-op if the schemadrh2021-12-06
| | | | | parameter is invalid. FossilOrigin-Name: 2d9a45ab10aaad681e11d639195430c0988b6ca1b96db6bf0b31b889e88a5430
* Make SQLITE_CORRUPT sticky: If a CORRUPT error is returned, all subsequentdrh2021-11-10
| | | | | | write statements within the same transaction also fail early with SQLITE_CORRUPT. FossilOrigin-Name: 3feb0f1c3840904d28fc9a61262820e2b9b764addc1dd178aecc2cd0f952042c
* Update an assert() statement to conform to the changes of the previous check-in.drh2021-11-05
| | | FossilOrigin-Name: b5c668cac831425fd3e370142f9ea501bf2ca1c77c3eb0c5b8f0a574f7667b3c
* Add the SQLITE_OPEN_EXRESCODE flag for sqlite3_open_v2().drh2021-11-05
| | | FossilOrigin-Name: ff9373f42d8479be5cae6cc15dc7fe0cc125c6c0157f5375bf7e1e77c624655d
* Demostrate a prototype sqlite3_autovacuum_pages() interface.drh2021-10-15
| | | FossilOrigin-Name: bb6f2b8b486c225043bc64e5f74ff6bbad6c5d1f337f0c81eeb6172b087bb943