aboutsummaryrefslogtreecommitdiff
path: root/src/tclsqlite.c
Commit message (Collapse)AuthorAge
* Fix harmless compiler warnings that show up on 32-bit RaspberryPI builds.drh2023-06-17
| | | FossilOrigin-Name: bc4d20f362925e4ce5c79f0d7a27a8e9bbac92525bd4cea2ae983798e3f8c37d
* Add a C-source spell-checking facility. make misspell (on Nix)larrybr2023-06-07
| | | FossilOrigin-Name: 26c1bb4bd9e9f56613c3aa87407a7f562fd4ebde5bfd6dece02078001d9a45f8
* Fix sqlite3_prepare() so that it only invokes the progress handler on everydrh2023-01-12
| | | | | | | N-th call to sqlite3ProgressCheck(), where N is the progress handler step count. Also fix faulty asserts exposed by the ability to interrupt in the middle of sqlite3_prepare(). FossilOrigin-Name: 05461651599bb490ac6cfd893645dabab9cccedc6adcce15aee2487b2ea6027a
* Fix a minor problem in the Tcl "incrblob" command. This does not affect the ↵dan2022-06-01
| | | | | SQLite core. FossilOrigin-Name: e96feccc21d9b858f076960e029b615809243d0cc3f95db75180feb01887451f
* Make the sqlite3_error_offset() interface accessible from TCL using thedrh2022-02-16
| | | | | new "erroroffset" method on the sqlite3 object. FossilOrigin-Name: 3454a1222bedefba527af98c0284ed0bfbd28dd941885d9a0ac9a44aea2fc8ec
* Fix a compiler warning in the dbserialize method of the TCL interface.drh2021-11-23
| | | FossilOrigin-Name: ba71d030fef4cd4251dc882acc6897dbf9aaba498652900c491b082add87404f
* Minor tweaks to the way auxiliary tools are built, to make it easier todrh2021-11-18
| | | | | customize the builds without having to alter the code. FossilOrigin-Name: 90b06b6f42918852cfb15258be462c6bed260c6a618b86fa9084bac72fa2f58f
* Add a reference counter to a structure used internally by the Tcl interface ↵dan2021-09-16
| | | | | so that it does not segfault if the database connection is closed from any of the various callback scripts that may be invoked. FossilOrigin-Name: e54a33ce56432b23947583d34cf12fc64a55bbc49eb77c7f33cff5926df51070
* Add the sqlite3_changes64() and sqlite3_total_changes64() API functions.dan2021-06-22
| | | FossilOrigin-Name: 48fdec22c966003f5577e0bf52906ef90df11e4e395723a646304e67ed976f37
* Enable the sqlite3_serialize() and sqlite3_deserialize() interfaces bydrh2021-05-08
| | | | | | default. Omit the SQLITE_ENABLE_DESERIALIZE option and replace it with the SQLITE_OMIT_DESERIALIZE option. FossilOrigin-Name: 6df3b03e00b1143be8fed3a39a58ce81063020275aa1ac13d87c84f1ceda6e27
* Enhancements to long-path support in the Win32 VFS.mistachkin2020-05-15
| | | FossilOrigin-Name: 0119d96decd344ae711388ac8475b92464a6d018ecf73862170f137410036dac
* Simplify the code by removing the unsupported and undocumented drh2020-02-07
| | | | | SQLITE_HAS_CODEC compile-time option FossilOrigin-Name: 5a877221ce90e7523059353a68650c5fdd28ed032807afc2f10afbfbf864bdfe
* In the TCL interface, add the ability to change thedrh2020-01-18
| | | | | SQLITE_DBCONFIG_TRUSTED_SCHEMA setting using the "db config" method. FossilOrigin-Name: 1accfa8cf05856b03cecab7a2cd0c0337842a0003cfbec207b6f0acdd93e8f15
* Provide the -innocuous option to the "db func" method in the TCL interface.drh2020-01-08
| | | FossilOrigin-Name: 0138652b6c2f21fd67e59a23a396a5b9d6a16ee9b44701cddfc49b23fddfce5b
* Add support for SQLITE_OPEN_NOFOLLOW.drh2019-11-18
| | | FossilOrigin-Name: cb79c828496a703f1410f61458ebc1e15a92a63412b36f51945b2b5a32ec6e88
* The SQLITE_DIRECTONLY flag, when added to sqlite3_create_function() preventsdrh2019-08-17
|\ | | | | | | | | the function from being used inside a trigger or view. FossilOrigin-Name: de767376987f7668b0770c4920f1532e341b5a27f797d69c0f5e92b87d036170
| * Provide the SQLITE_DIRECTONLY flag for app-defined functions that prohibitsdrh2019-08-15
| | | | | | | | | | the use of those functions within triggers or views. FossilOrigin-Name: fc745845d8d76adc165575e2192f4176e3c28e614c72571d56f4011560499fe1
* | Fix harmless compiler warnings in the TCL interface.drh2019-08-15
| | | | | | FossilOrigin-Name: f17e72291f197a92b3e15e054271b997d45211a5a31ca4ea6c7fbb33026d5f1f
* | Add the SQLITE_DBCONFIG_ENABLE_VIEW option, together with a "db config"drh2019-08-15
|/ | | | | | command in the TCL interface that can access that option as well as all the other sqlite3_db_config() boolean options. FossilOrigin-Name: 61b4bccd2984f4c2cf50f58ef08677588e57aa7e079af07473b2e188d9ce4f52
* Add the new "bind_fallback" method to the "sqlite3" object in the TCLdrh2019-02-28
| | | | | interface. FossilOrigin-Name: c7f70b6d96338dba201e005104e7f7148c1a8cd767ab05e35b44617c4c797bc5
* Add the "-returntype" option to the "db function" Tcl method.dan2019-02-27
| | | FossilOrigin-Name: 789a492b68c353e2b763d67d399722b7ab61bfe09b472466df2821f65cab1be9
* Enhancements to deserialize: (1) Add the SQLITE_FCNTL_SIZE_LIMIT file controldrh2019-01-22
| | | | | | | | | to set a maximum size for an in-memory database, defaulting to SQLITE_MEMDB_DEFAULT_MAXSIZE or 1GiB. (2) Honor the SQLITE_DESERIALIZE_READONLY flag. (3) Enhance the TCL interface to support -maxsize N and -readonly BOOLEAN. (4) Add the --maxsize option to the ".open" command and on the command-line for the CLI. FossilOrigin-Name: 30f08d58882819a69e353bcc1b6b349664bbfbe00aa1c115ba44a9fd899fcc5b
* Fix the "sqlite3" command in the TCL interface so that it correctly returnsdrh2018-09-19
| | | | | an error if invoked with no arguments. FossilOrigin-Name: 2034fa8089676132b5e2f71bdebf1af9ca141da2e173920c6e84fb974ab0f022
* In the Win32 VFS, when truncating a file, unmap it first.mistachkin2018-07-22
| | | FossilOrigin-Name: 21510a66dce4d0843ccfe20f092a01f5a52563ef244a94f1d5d2563305cab925
* Fix the second callback argument to the "profile" response of thedrh2018-03-10
| | | | | | | "trace_v2" method in the TCL interface so that it shows the actual number of nanoseconds for the command, not the address of the variable containing the number of nanoseconds. FossilOrigin-Name: 8f9a12518642e5be9760956ff345fe54ed5bd3cab55328e88312278d3d78bc76
* Improved documentation for sqlite3_serialize() and sqlite3_deserialize().drh2018-03-06
| | | | | | Change the name of the compile-time option to enable these interfaces from SQLITE_ENABLE_MEMDB to SQLITE_ENABLE_DESERIALIZE. FossilOrigin-Name: f07e97aed435b02e1473053c0257ec5c89bf0b3e46076b7a9382de432bbc2497
* Merge changes from trunk.drh2018-01-24
|\ | | | | FossilOrigin-Name: 6ef3de810d54563c227045b16197b8011ce285ea867261946f93b2de55344f29
| * Skip defining WIN32_LEAN_AND_MEAN when it is already defined.mistachkin2018-01-23
| | | | | | FossilOrigin-Name: 195f5323df800f7963df2ea251c497c72e4d7ff0b88a70f1fa60f13bb1a9fd3b
* | New test cases and fixes for minor problems.drh2018-01-03
| | | | | | FossilOrigin-Name: e0da2cc382e0db33d0423372133115f52c77bd0093dbf816c7e88a0aad5f6582
* | Replace sqlite3_memdb_config() with sqlite3_deserialize(). Remove thedrh2018-01-03
| | | | | | | | | | | | "db memdb" command from the TCL interface, replacing it with "db serialize" and "db deserialize". FossilOrigin-Name: 2f6e9df9f0c5a9e5b1acb99cfa9486850cc1822d35b0989e779a7a10f3b1f1ac
* | Replace the sqlite3_memdb_ptr() interface with the more generaldrh2018-01-03
| | | | | | | | | | sqlite3_serialize() interface. FossilOrigin-Name: 8cf2ed4eff6d2e0958656e23384b05ead2128b678b0b69a591878af4190cd077
* | Simplify the "sqlite3" command in the TCL interface. The filename is nowdrh2018-01-03
| | | | | | | | | | | | optional. There is a new --memdb option with an argument that is the blob to which the database content should be initialized. FossilOrigin-Name: 47398ae77236a92f6b9345aa397361b6df127a9a2895c0771d506b0be10822b9
* | Add support for the "memdb" VFS and the sqlite3_memdb_ptr() anddrh2018-01-03
|/ | | | | | sqlite3_memdb_config() interfaces, to enable an SQLite database to be manipulated as an in-memory object. FossilOrigin-Name: fb2ac2d2fa6374084f3325b41b257c7a3ace43aade4b666ec4be93b6b70dc39a
* Improved ability to generate stand-alone program using TCL and SQLite bydrh2017-10-13
| | | | | | | compiling with -DTCLSH_INIT_PROC=name to cause the TCL interpreter to be initialized using procedure name(). Both sqlite3_analyzer and testfixture are now built this way. FossilOrigin-Name: d65d1f297ddb07b799ff5b2e560575fc59a6fa74c752269cc85ab84348fb7da4
* When compiling with SQLITE_TEST, extra options are available on thedrh2017-10-13
| | | | | | "DB version" command for controlling the internal state of the SqliteDb object, for testing purposes. FossilOrigin-Name: bf86478d9c6b899d6441e80cf9d17b58731e5d354e31b11f0d58a798f6fab896
* Move some test logic out of tclsqlite.c and into auxiliary test_*.c files.drh2017-10-13
| | | | | This is a work in progress. FossilOrigin-Name: 95b7687fed75b32a62a0c62d397f4f543bf40095e13c22e15938d5dcfd71fcdf
* Add the schema6.test module for demonstrating schemas that generate identicaldrh2017-07-30
| | | | | and different content. FossilOrigin-Name: ac1da06a829051d393ccb8bb986e78f5bd35b060687688f6b3661913b13c9a5a
* Incorporate recent trunk changes.drh2017-06-28
|\ | | | | FossilOrigin-Name: 62b8269ba2ff71e2daaa86688698896badd6f6e34ab42fbf92dda7fcda73a230
| * Add the -withoutnulls option to the "db eval" method in the TCL interface.drh2017-06-26
| | | | | | FossilOrigin-Name: 18f0616e15684ca327fb10a1d133331af1d3b75f609498982290f6ad69fcaced
| * When generating individual loops for each ORed term of an OR scan, move anydan2017-06-22
| | | | | | | | | | | | constant WHERE expressions outside of the loop, as is done for top-level loops. FossilOrigin-Name: e4a022be4b069b08cfdfda5295461676b99d28e17bbbedfbcb362dec69de59bd
* | Add interfaces sqlite3_prepare_v3() and sqlite3_prepare16_v3() with thedrh2017-06-01
|/ | | | | | extra prepFlags argument. Add the SQLITE_PREPARE_PERSISTENT option as one bit in that argument. FossilOrigin-Name: 4a25c5883380fe5990d8180adb58c3bdc7a3d081bc4c69cd4de3cd57074fb251
* New requirements marks and documentation for the authorizer.drh2017-05-11
| | | FossilOrigin-Name: 3980ea0911b3ad3f86d7a7bdc6503f233315c274f473e18831e13eda2c238eeb
* Further reforms to Tcl_*Alloc() usage.mistachkin2017-02-15
| | | FossilOrigin-Name: ee1e689633e517ce46307b9afbf1eda03482c928
* Make sure Tcl_AppendResult() always has a NULL-pointer argument at the end.drh2017-01-12
| | | FossilOrigin-Name: c07aef6f909fe35de110f0b180dbf5aa4c226af3
* Add missing nul-terminator to a Tcl_AppendResult() call in tclsqlite.c.dan2016-12-06
| | | FossilOrigin-Name: 0820f8b3dedfc846d187844847dfa8617539fc9a
* Changes to give a warning-free build with SQLITE_OMIT_INCRBLOB anddrh2016-09-10
| | | | | SQLITE_OMIT_SHARED_CACHE. FossilOrigin-Name: 711c59171b22df04224183a713e6c36e0bb3bba8
* More compiler warning fixes for GCC related to the auto-extension mechanism.mistachkin2016-07-28
| | | FossilOrigin-Name: b8218129bc848c61fa6910feae4141dac6ad86fc
* Make the extension auto-loading mechanism work with the __stdcall calling ↵mistachkin2016-07-28
| | | | | convention. Also, fix a couple Tcl command calling conventions missed in the previous check-in. FossilOrigin-Name: 3ea567c4b07b2a7a027b9b5cb8250ab687803698
* Adjustments to get 'testfixture.exe' compiling with Tcl 8.6 when __stdcall ↵mistachkin2016-07-28
| | | | | is enabled. FossilOrigin-Name: 90e89ec9c8efff057a9e43c612427fc5c97ab52d
* Make sure the SQLITE_TCLAPI macro is always defined.mistachkin2016-07-28
| | | FossilOrigin-Name: f2f1323cc4d2ad2d6794dbfae8d50b747213e85d