aboutsummaryrefslogtreecommitdiff
path: root/src/tclsqlite.c
Commit message (Collapse)AuthorAge
* 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
* Allow sqlite3_shutdown() to be called by a process before ↵danielk19772009-02-17
| | | | | sqlite3_initialize() is. Prior to this commit such a call could segfault. (CVS 6296) FossilOrigin-Name: 79431c58d964d6057c7f42f7c1df74f3df4493eb
* Add "backup" and "restore" methods to the TCL interfaces and test casesdrh2009-02-04
| | | | | to exercise those methods. (CVS 6260) FossilOrigin-Name: e420a3cedc7ee086a77cd719f6b9fb85415eb5f3
* Commit first version of the 'backup' feature. (CVS 6241)danielk19772009-02-03
| | | FossilOrigin-Name: 663479b417fc06ba1790a544f28694f8797cee57
* Make some changes requested by Fedora. (CVS 6181)drh2009-01-14
| | | FossilOrigin-Name: 7bc08bc719c2e9ca6d92d4709c0478e15fdfb131
* Modify the (transaction) method of the tcl interface to use savepoints. This ↵danielk19772009-01-02
| | | | | makes nested calls to (transaction) work more intuitively. (CVS 6101) FossilOrigin-Name: f047758de9b499866aa4ddf16011498b12a7b963
* Invoke the authorization callback when compiling SAVEPOINT, ROLLBACK TO and ↵danielk19772008-12-30
| | | | | RELEASE commands. (CVS 6074) FossilOrigin-Name: e49807b16f7f86d3f2290d6c1f7562f3db6330f9
* The strlen30 function in tclsqlite.c should be defined regardless of whetherdrh2008-12-10
| | | | | or not the amalgamation is used. (CVS 6012) FossilOrigin-Name: d8e8c7e51c09dc4e4d7e45ba1866c78713d6f5aa
* Fix an issue with the new sqlite3Strlen30() introduced bydrh2008-12-10
| | | | | check-in (6007). Additional casts for compiler warnings. (CVS 6011) FossilOrigin-Name: 258722b6178f60eaccef1675aab3edc456d413a5
* Never use strlen(). Use our own internal sqlite3Strlen30() which isdrh2008-12-10
| | | | | | guaranteed to never overflow an integer. Additional explicit casts to avoid nuisance warning messages. (CVS 6007) FossilOrigin-Name: c872d554930ecf221ac2be5f886d5d67bb35288c
* Minor cleanup of the new "status" command on the TCL bindings. (CVS 5783)drh2008-10-09
| | | FossilOrigin-Name: ec01bd72ee875df179c680c1a40304d2f807fe38
* Add the experimental sqlite3_stmt_status() interface. (CVS 5781)drh2008-10-07
| | | FossilOrigin-Name: de473efb35ffdf9a8222a70a84dfd7d3198c87c1
* Fix the TCL installer so that it omits the release number. Ticket #3396.drh2008-09-23
| | | | | | Use strcmp() instead of sqlite3StrICmp() in the "copy" method of the SQLite object in the TCL interface. (CVS 5735) FossilOrigin-Name: a88606245760eaf8054d67773db7d8b795e8ca25
* Add no-op Unload entry points to the TCL interface. Ticket #3397. (CVS 5734)drh2008-09-23
| | | FossilOrigin-Name: b31dd1e3f1d927b9236b7ebeb331268cbd253083
* Calling sqlite3_create_function with nArg==(-1) does not override priordrh2008-09-09
| | | | | | calls on the same function name with nArg>=0. Ticket #3345. Add the new -argcount option to the "function" method in the TCL interface. (CVS 5684) FossilOrigin-Name: 5aa5b8044a14f59559c1839dc0799b0d2f990809
* Make the default threading mode multithread (-nomutex) in the TCL interface. ↵drh2008-09-03
| | | | | (CVS 5670) FossilOrigin-Name: d9e826942673ad048d611c014bfbee39ab5535c8
* Add support for SQLITE_OPEN_FULLMUTEX. (CVS 5669)drh2008-09-03
| | | FossilOrigin-Name: f2f361a5e2fb81fb0f99e83ecf8bae9a750723b1
* Converted strcasecmp to sqlite3StrICmp. Test code only. (CVS 5654)shane2008-09-01
| | | FossilOrigin-Name: bdeefe37602f8b0cd7c63a8c1e52de319cc51bea
* In the TCL interface, disable the authorizer when during a BEGIN, COMMIT,drh2008-08-26
| | | | | or ROLLBACK associated with the transaction method. Ticket #3336. (CVS 5618) FossilOrigin-Name: 7e1032ab0031ba535f37b6338a3ac81cb1449d76
* Add the SQLITE_OPEN_NOMUTEX flag. Used for opening connections that are not ↵danielk19772008-07-10
| | | | | protected by an internal mutex. (CVS 5387) FossilOrigin-Name: 7e58b78712420b3bd4320192a58d89eb71eecc9c
* Add some test infrastructure and cases for the new mutex api. (CVS 5230)danielk19772008-06-18
| | | FossilOrigin-Name: 262baee9952b28afe5dc77eb7365ebb11a480906
* Fix more compiler warnings. (CVS 5074)drh2008-05-01
| | | FossilOrigin-Name: 59568844e774dbe89fd20bbc8f49a3665cc54717
* Back out the zero-terminator optimization introduced in check-in (4915).drh2008-04-16
| | | | | Ticket #3056. (CVS 5015) FossilOrigin-Name: cce8deae2d556916e2817e0cb9748dceb162085d
* Add source file test_osinst.c. A wrapper vfs with instrumentation ↵danielk19772008-04-10
| | | | | capabilities. (CVS 4977) FossilOrigin-Name: d9a6b653d3cb608610f13d2492fe9b3887acb3b9
* Fix to the "copy" method in the TCL interface. Ticket #3039. (CVS 4975)drh2008-04-10
| | | FossilOrigin-Name: 6f07968ec4c9d773a852ecc8343df416d17af2a4
* Fix the TCL interface so that it does not use unpublished interfaces. (CVS 4965)drh2008-04-04
| | | FossilOrigin-Name: 046a98a8c88be7389c1571a819ccf1907a3f7217
* Test string values passed to bind_text() and result_text() for a ↵danielk19772008-03-25
| | | | | nul-terminator. (CVS 4915) FossilOrigin-Name: 24c3ebc0c5c53c234516d16dce761d713fb29578
* Initialize the MD5 SQL functions from test_func.c instead of usingdrh2008-03-19
| | | | | conditional compilation in tclsqlite.c. (CVS 4885) FossilOrigin-Name: 801a0e3c9972c1fc9f55a9c55cd0ff19fd79fa37
* Move SQL functions used for testing only out of func.c and into a newdrh2008-03-19
| | | | | | test file named test_func.c. Use sqlite3_auto_extension() to make sure the test functions appear in every database connection. (CVS 4883) FossilOrigin-Name: e90c4cc8a89838161f218739bc821126e247498c