aboutsummaryrefslogtreecommitdiff
path: root/src/tclsqlite.c
Commit message (Collapse)AuthorAge
* Add the ability to enable or disable SQLITE_IOCAP_ZERO_DAMAGE using a URIdrh2011-12-21
| | | | | | | | parameter for both unix and windows. Add a file-control to query or disable the ZERO_DAMAGE setting. Add the -uri option to the "sqlite3" TCL command in tclsqlite3.c. Allow the sqlite3_uri_parameter() interface to accept a NULL pointer for its first parameter. FossilOrigin-Name: c83627b73285f883719845c1b9fe85f378f28dd2
* Add assert() statements and eliminate needless variable assignments in orderdrh2011-10-14
| | | | | | | to get the clang scan-build utility to report zero problems against the SQLite core. Clang's static analysis did find one real problem - but it was in the command-line shell, not in the SQLite core. FossilOrigin-Name: 60fee9574b0125705787e33c16f116cf188c8323
* Change the way the sqlite3_analyzer executable is built.dan2011-09-21
| | | FossilOrigin-Name: 05e3cced8a884e8bca6f208d2f09e335d3929eac
* Ensure that the Tcl "db onecolumn" command returns an empty string if the ↵dan2011-08-18
| | | | | SELECT statement returns zero rows. FossilOrigin-Name: 928bcaf0f00a408e2f6c1d85dfab214457f52ad5
* Add a case to permutations.test to run the veryquick test suite using ↵dan2011-06-27
| | | | | sqlite3_prepare() instead of sqlite3_prepare_v2(). This helps to test the fix for bug [25ee812710]. FossilOrigin-Name: d9f7993bfa2ecb30c44455de538eb6f8a4a59087
* More compiler warning fixes.drh2011-06-20
| | | FossilOrigin-Name: ed2dda9329ca42e9c0be1986c78b091051e7598f
* Fix a problem where FTS test code was not being included in the testfixture ↵dan2011-06-20
| | | | | build when SQLITE_ENABLE_FTS4 was defined. FossilOrigin-Name: e539d08a4dda073dc67dc39a104f89374d3bd8e9
* Fix a bug exposed by combining matchinfo(), NEAR and "ORDER BY rowid DESC".dan2011-06-13
| | | FossilOrigin-Name: 5f6b87f420f21749aa7c72e020c50aca74890086
* Add the "wholenumber" virtual table module to the test suite - useful indrh2011-04-01
| | | | | populating tables with many rows of content prior to a test. FossilOrigin-Name: 975dff155bd9db42f2b6855b24c861852bb7a201
* Merge the word-fuzzer branch into trunk.drh2011-04-01
|\ | | | | FossilOrigin-Name: f77609d44194ee8871b3fb281ea6b90a9182f69f
| * Skeleton code for the word-fuzzer virtual table.drh2011-03-26
| | | | | | FossilOrigin-Name: ea3a4ee136ff6699c3099178f0efaa8bb517715f
* | Add test infrastructure (and some tests) to inject faults into os_unix.c ↵dan2011-03-28
|/ | | | | using the new xSetSystemCall interface. FossilOrigin-Name: 0e1d20dfaeea5ab285d16aa4b8f02b61b1d2bc10
* Make sure code *compiles* with each OMIT and ENABLE option. Mostly changes ↵shaneh2011-02-09
| | | | | to test modules. FossilOrigin-Name: 7cc515edc9cade2bc6c74699b3e4153bf2b74ebb
* Have testfixture invoke C routine Zipvfs_Init() when creating a new ↵dan2010-12-29
| | | | | interpreter if SQLITE_ENABLE_ZIPVFS is defined. FossilOrigin-Name: 430635dacfa818e8266a88214aaf60c77862de1c
* Add file test_superlock.c with example code for obtaining an exclusive lock ↵dan2010-11-19
| | | | | on either rollback or wal mode databases. FossilOrigin-Name: 1a3e7417a2184188fe21c3284e58720da9ca11cf
* First attempt at a sharding VFS to split large DBs.shaneh2010-11-04
| | | FossilOrigin-Name: dd4dc8a4269e23ffe0e18438690da6077e17cdad
* Fix a memory leak in the update_hook method of the TCL interface.drh2010-10-27
| | | FossilOrigin-Name: 1d17e3dc832d789c3665e240dac5019fc4f9c18b
* Add file test_quota.c, demonstrating how file-system quotas may be ↵dan2010-09-01
| | | | | implemented as a VFS wrapper. FossilOrigin-Name: 383eb87bbf560b20682dd5be0e18ddadf762f415
* Add code to allow user-defined searches of r-tree tables. Still largely ↵dan2010-08-28
| | | | | untested. FossilOrigin-Name: 782ca3b716ee1ecb0dfb5ab6f21dfd73d41758e4
* Add EXTERN macros before entry points in tclsqlite.c. This undoes thedrh2010-08-26
| | | | | change [b4d3e0d528c7d17fa3d05] on [2006-03-06 23:30:52]. FossilOrigin-Name: 8b2cf9d492901a65942d0e0b87c568d1539deece
* Reinstate the "sqlite" alias for backwards compatibility (but leave drh2010-08-25
| | | | | it undocumented) but remove the PackageProvide for "sqlite". FossilOrigin-Name: 699cc6b48774be111f2e076cc1920ae79497dcea
* Disable the legacy "sqlite" command in the TCL interface. Provide onlydrh2010-08-25
| | | | | the "sqlite3" command. FossilOrigin-Name: 909b3d8862aeae04611969f5fc27d32a82026767
* Merge leaf created by accident.dan2010-08-20
| | | FossilOrigin-Name: 1f680cb37584baa106cee0544d5be63049d55858
* Fix a typo in an error message of the TCL interface.drh2010-08-01
| | | FossilOrigin-Name: 8eadd7b87bfe8786e0352ca14b29d1451998c02c
* Fix makefiles so that they build sqlite3_analyzer again. Tweaks to commentsdrh2010-07-12
| | | | | in test_stat.c. Fix tclsqlite.c to build the sqlite3_analyzer again. FossilOrigin-Name: e6cd15451d8c47bfc86d07565655920134b494fe
* Changes so that the space-analyzer script works with 3.7.0.dan2010-07-12
| | | FossilOrigin-Name: 86159cb3f00a380dc55be3affb01c433618f0683
* idan2010-06-22
| | | | | Fix problem with handling of -vfs option in tcl interface. FossilOrigin-Name: 8f98e8b5a557db5759747f3aae5ea01fb0d1f455
* Refactor some of the global variables and commands used by tester.tcl.dan2010-06-07
| | | FossilOrigin-Name: c2edf8e17f874d0ca4e94b75575bf6e14eea1f05
* Change the behavior of the sqlite3_wal_hook() callback. It should now returndrh2010-05-05
| | | | | | | SQLITE_OK or an error code and the error code is propagated back up the stack. If a checkpoint is desired, the callback should invoke sqlite3_wal_callback() itself. FossilOrigin-Name: 1b14195e05fe5551992a39246ec3bcf6a33bbfac
* Test the handling of errors returned by the xShmXXX() APIs.dan2010-05-05
| | | FossilOrigin-Name: 72663123d6be2b194cad7a6057d0f20dd0d9fe05
* Rename the sqlite3_log_hook() to sqlite3_wal_hook(). Added comments todrh2010-04-28
| | | | | wal.h. FossilOrigin-Name: bbc385111b19071e20fe963fab814262c815b3e9
* Add the sqlite3_log_hook() interface for scheduling checkpoints.dan2010-04-19
| | | FossilOrigin-Name: 9bda601455705475075e33bfa85687bce34b15ff
* Pull over the latest changes from the trunk.drh2010-04-07
|\ | | | | FossilOrigin-Name: e388fe8be878c80ef0bfd1699a7268cdb22cb3c6
| * Add file test_demovfs.c, containing a simple VFS implementation that ↵dan2010-04-07
| | | | | | | | | | demonstrates how writes to the journal file may be safely buffered by the VFS layer to improve performance on some embedded systems. FossilOrigin-Name: af3b72d94a1b6513f02402af3ada5fb5dd390151
* | Add an interface to the SQLITE_STMTSTATUS_AUTOINDEX status informationdrh2010-04-07
|/ | | | | to the TCL bindings. Add some simple automatic index test cases. FossilOrigin-Name: 1f40441204d9a912b1d6b67ff6ff9e17146c7abd
* Changes to the TCL interface header to allow it to be compiled independentlydrh2009-12-01
| | | | | from the amalgamation. FossilOrigin-Name: 58113932d93926b4aa037a7487105a55f883cd0a
* Initial implementation and test cases for the "intarray" virtual table.drh2009-11-10
| | | FossilOrigin-Name: 0e7d29253f093d4125ede3cfc478e4bf09aef987
* Remove from the TCL interface some old code associated with sqlite3_analyzer.drh2009-11-10
| | | FossilOrigin-Name: 01f2271e51751ff66061f65556a5e324f243756a
* Fix a compiler warning that occurs when building the TCL interface.drh2009-10-24
| | | FossilOrigin-Name: fc36034bdc3b21e91f24be812e103da26f5d7d5d
* Merge the MD5 checksum logic into the TCL interface. This facilitates buildingdrh2009-10-22
| | | | | | a tclsh that contains both SQLite and MD5. The plan is to use this augmented tclsh to help build the documentation. FossilOrigin-Name: a024c0a85b6f2288c455a7192f6ca7a8493b621a
* Remove the sqlite3_reoptimize() API. The same functionality is now provided ↵dan2009-10-19
| | | | | automatically to queries prepared using prepare_v2(). FossilOrigin-Name: 2c50b3d5aab7cd8cc841d61f8c3b2b34d2f0b54b
* Add the experimental sqlite3_reoptimize() API.dan2009-10-15
| | | FossilOrigin-Name: 9bd6f3d8864d422fe42074688b191915b27ad8ea
* Update the TCL wrapper to provide a non-NULL objProc pointer to thedrh2009-10-13
| | | | | | Tcl_NRCreateCommand() interface. The TCL gurus say this is needed to support legacy TCL extensions. FossilOrigin-Name: 1b3cfa01dd7fb9a48f0008f5afd974db61c30cff
* Change tclsqlite.c to use the Tcl_NRxxx() APIs in Tcl versions 8.6 and later.dan2009-10-06
| | | FossilOrigin-Name: e9f72f1de459a9e8380609f6bd7d4b76afb59f89
* Add tests to check that sqlite recovers from an error in ↵dan2009-08-17
| | | | | sqlite3_initialize() correctly. FossilOrigin-Name: 904a371c6c9d3f20332b37767b06161fa0a78113
* Remove two unused fields from the Parse structure. The TCL interface nowdrh2009-07-03
| | | | | removes leading whitespace from SQL statements before parsing them. (CVS 6846) FossilOrigin-Name: 983cb6924b8a7d3057718b9228c0cb2fbe7f0dc4
* Fix another compiler warning in the test logic of tclsqlite.c. (CVS 6393)drh2009-03-27
| | | FossilOrigin-Name: 47ffc4dca8f106d0da8cbc0a8ff7453016e9b40d
* Fix some compiler warnings in test code. (CVS 6392)drh2009-03-27
| | | FossilOrigin-Name: a43ecc9cb91ea8693e0fcce12c1bb5c5e4baf434
* Changes to insure that lookaside memory allocations are never used to hold drh2009-03-24
| | | | | | schema content. Ticket #3743. (CVS 6377) FossilOrigin-Name: ea74d8dc62f5784089aa8ef098e97c505a79b176
* Add the sqlite3_unlock_notify() API. (CVS 6348)danielk19772009-03-16
| | | FossilOrigin-Name: b649a6cc5bfefddd6a04b1183647d2923e0a0daa