/ File History
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of test/capi3.test

2018-11-07
02:17
[3910a73c] part of check-in [3212733c] Add the SQLITE_DEFAULT_DEFENSIVE compile-time option. Fix up test cases so that they work with DEFENSIVE enabled. (check-in: [3212733c] user: drh branch: read-only-shadow, size: 32265)
2018-09-18
17:00
[b299c89d] part of check-in [de2e3cbd] Enhance tester.tcl so that when "--malloctrace=1" is specified, the test generates self-contained Tcl scripts that present GUIs instead of *.sql files that require a separate program to interpret. (check-in: [de2e3cbd] user: dan branch: trunk, size: 32191)
2018-01-10
00:40
[36f5c859] part of check-in [36b89d72] Compute the correct column name even if the column identifier is the very last token in the SQL statement. This fixes a problem introduced by check-in [0fdf97efe5df745510c6b] and reported by the community during beta-testing. (check-in: [36b89d72] user: drh branch: trunk, size: 32214)
2017-07-10
12:07
[986e57ce] part of check-in [f27b6370] Update error message text for standard error codes to better describe the latest usage of those error codes. Modify sqlite3_open_v2() so that it does return a valid sqlite3 object in the event of SQLITE_MISUSE due to bad open flags, so that sqlite3_errmsg() does not report "out of memory" in that case. (check-in: [f27b6370] user: drh branch: trunk, size: 31786)
11:17
[02f4cbbd] part of check-in [871752f2] Remove the error message text from disused error codes such as SQLITE_EMPTY and SQLITE_FORMAT. (check-in: [871752f2] user: drh branch: trunk, size: 31842)
2017-07-07
19:43
[c6afa851] part of check-in [732f90d6] Change the error message text for SQLITE_ERROR to omit the part about "missing database" as that meaning is now obsolete (since approx SQLite 2.0). (check-in: [732f90d6] user: drh branch: trunk, size: 31994)
2016-03-23
16:32
[f0c66919] part of check-in [3fa88f68] Fix "ifcapable" tests in capi3.test and capi3c.test so that the tests work with more build configurations. (check-in: [3fa88f68] user: dan branch: trunk, size: 32014)
2016-03-21
10:49
[860dafdc] part of check-in [86ab8643] Merge updates from trunk. (check-in: [86ab8643] user: drh branch: sqlite_system_errno, size: 32013)
2016-03-17
23:56
[db0731f6] part of check-in [399c6076] Fix some test cases so that they work under the Apple configuration. (check-in: [399c6076] user: drh branch: trunk, size: 31874)
17:23
[84ab8993] part of check-in [185bc864] Simple test cases for sqlite3_system_errno() (check-in: [185bc864] user: drh branch: sqlite_system_errno, size: 32147)
2015-02-27
00:33
[bf6f0308] part of check-in [d70b0fd4] Add a couple of requirements marks. (check-in: [d70b0fd4] user: drh branch: trunk, size: 32008)
2014-11-11
01:33
[f0718f4f] part of check-in [fa6e6a9a] Experimental changes that permit read operations to continue after a ROLLBACK, as long as the schema is unchanged. (check-in: [fa6e6a9a] user: drh branch: read-after-rollback, size: 31694)
2014-03-05
15:04
[71bcf2fb] part of check-in [d4fbc05d] Add a test case for the problem fixed by [1d134ba2ed]. (check-in: [d4fbc05d] user: dan branch: trunk, size: 31696)
2014-01-23
14:44
[6cdd4965] part of check-in [f4a701d5] Modifications to test files to omit any tests that intentionally access out-of-bounds locations in clang -fsanitize=address builds. (check-in: [f4a701d5] user: dan branch: trunk, size: 31122)
2013-12-13
16:23
[f5eab498] part of check-in [9d347f54] Simplication and optimization of error message handling. (check-in: [9d347f54] user: drh branch: trunk, size: 30981)
2012-06-07
07:24
[56ab4501] part of check-in [506008f0] Fix a malloc/free mismatch in pager.c (sqlite3_free() called on a buffer allocated by sqlite3DbMalloc()). (check-in: [506008f0] user: dan branch: trunk, size: 30970)
2012-06-02
14:32
[d527782c] part of check-in [e276a02b] The sqlite3_close() interface returns SQLITE_OK even if there are outstanding sqlite3_stmt and sqlite3_backup objects. The connection becomes a zombie. Resource deallocation is deferred until the last sqlite3_stmt or sqlite3_backup object closes. This is intended to help SQLite play nicer with garbage collectors. (check-in: [e276a02b] user: drh branch: deferred-close, size: 30559)
2012-05-15
17:15
[8a33b82c] part of check-in [46f4eb54] When a connection disconnects from a shared-cache database, only delete the in-memory schema if there are no other connections. (check-in: [46f4eb54] user: dan branch: shared-schema, size: 30929)
2012-04-03
18:33
[8dedb005] part of check-in [1d5e744c] Modify capi3.test and capi3c.test so that they work with SQLITE_OMIT_AUTORESET builds. (check-in: [1d5e744c] user: dan branch: trunk, size: 30718)
2012-04-02
23:35
[468b7509] part of check-in [d51c086e] Merge in latest changes, autologging options, read only file system wal support, test config conditionalization, WAL frame write prebuffering (check-in: [d51c086e] user: adam branch: apple-osx, size: 30494)
2012-02-13
16:43
[9c8b58b6] part of check-in [9b66c79e] Change the ROLLBACK command so that pending statements to not block it. The pending statements instead return SQLITE_ABORT upon next access. Note: This causes separate shared-cache connections in read_uncommitted mode to abort as well. (check-in: [9b66c79e] user: drh branch: nonblocking-rollback, size: 30448)
2011-08-02
00:57
[7200dff6] part of check-in [9007586f] Add retry logic for AV defense to winOpen. Also, refactor test suite to allow the key Tcl file operations (e.g. copy and delete) to be retried. (check-in: [9007586f] user: mistachkin branch: winopen-retry-logic, size: 30441)
2011-03-18
21:55
[5c1ea6c9] part of check-in [36c04dd1] Add a generation counter to the Schema object and enhance OP_VerifySchema to also check the Schema generation. Fix for ticket [f7b4edece25c99]. (check-in: [36c04dd1] user: drh branch: trunk, size: 30469)
2010-07-08
09:44
[1945a2ba] part of check-in [f553c8ed] Changes to test scripts so that the "inmemory_journal" permutation works with [ef126e775a]. (check-in: [f553c8ed] user: dan branch: trunk, size: 30462)
2010-06-22
13:46
[952ef838] part of check-in [85dd51a7] Some changes to test scripts related to codec enabled versions of sqlite. (check-in: [85dd51a7] user: dan branch: trunk, size: 30432)
2009-01-09
02:49
[168e2cd6] part of check-in [6e171c0a] More coverage improvements. (CVS 6148) (check-in: [6e171c0a] user: drh branch: trunk, size: 30234)
2008-11-05
16:37
[4d9c110e] part of check-in [51f04aaf] The COMMIT command now works even if there are pending queries, as long as the pending queries are reading and not writing the database. (CVS 5864) (check-in: [51f04aaf] user: drh branch: trunk, size: 30229)
2008-10-30
15:03
[74089bd9] part of check-in [4c6a90a1] Add the sqlite3_extended_errcode() interface. Change to return SQLITE_BUSY instead of SQLITE_ERROR when a COMMIT is attempted and one or more queries are still pending. (CVS 5850) (check-in: [4c6a90a1] user: drh branch: trunk, size: 30189)
2008-07-12
15:55
[ffc1156d] part of check-in [03e3cfc4] Fix the test script --binarylog option. (CVS 5401) (check-in: [03e3cfc4] user: danielk1977 branch: trunk, size: 29897)
2008-07-07
13:31
[b92ba9a8] part of check-in [024d4392] Add the vfs_unregister_all and vfs_reregister_all test commands. Use them to test the sqlite3_sleep() interface when no VFSes are registered. (CVS 5348) (check-in: [024d4392] user: drh branch: trunk, size: 29833)
2008-06-23
17:56
[6312427a] part of check-in [1fdab2c6] Additional tests added to capi3.test. (CVS 5285) (check-in: [1fdab2c6] user: drh branch: trunk, size: 29684)
2008-05-23
14:49
[d3848b06] part of check-in [846a69ac] Add a test case of preparing a statement with an nBytes parameter of 0 and where the previous byte of the string is zero. Ticket #3134. (CVS 5156) (check-in: [846a69ac] user: drh branch: trunk, size: 29258)
2008-05-05
16:56
[1ca5912f] part of check-in [bdd89cd2] Better error messages when trying to open a large file using a version of SQLite that omits large file support. Tickets #3096 and #3094. (CVS 5085) (check-in: [bdd89cd2] user: drh branch: trunk, size: 29065)
2008-04-03
14:36
[8113010c] part of check-in [c287a7b2] Avoid an out-of-bounds read in sqlite3_prepare() and fix a case where the output variable *pzTail was being set incorrectly. Fix for #3027. (CVS 4957) (check-in: [c287a7b2] user: danielk1977 branch: trunk, size: 29074)
2008-03-19
13:03
[928999c4] part of check-in [57805b58] When a parse of the sqlite_master table fails, include the name of the object being parsed as part of the error message. (CVS 4881) (check-in: [57805b58] user: drh branch: trunk, size: 28682)
00:21
[8abe9bc7] part of check-in [24e76997] Remove the dependency on the direct btree interface from as many test scripts as is practical. Fix a bug in the output limiter of the integrity_check pragma that came up while making this change. (CVS 4880) (check-in: [24e76997] user: drh branch: trunk, size: 28674)
2008-02-21
21:30
[590134ad] part of check-in [74126bf4] Additional test cases. (CVS 4806) (check-in: [74126bf4] user: drh branch: trunk, size: 29037)
2008-01-22
01:48
[27734b8b] part of check-in [2a0bc1e1] Changes to lemon to generate additional comments in the output file and to remove unreachable code. Additional test cases for improved test coverage. (CVS 4736) (check-in: [2a0bc1e1] user: drh branch: trunk, size: 28899)
2007-12-13
21:54
[432fabf9] part of check-in [4e91a267] Change all instances of "it's" in comments to either "its" or "it is", as appropriate, in case the comments are ever again read by a pedantic grammarian. Ticket #2840. (CVS 4629) (check-in: [4e91a267] user: drh branch: trunk, size: 28065)
2007-10-23
18:55
[1eddefd4] part of check-in [c085d6df] Add comments, assertions, and test cases to demonstrate that the problem described in ticket #2742 is not a real problem. (CVS 4510) (check-in: [c085d6df] user: drh branch: trunk, size: 28067)
2007-08-29
19:15
[ba20464e] part of check-in [35cb63ec] Fix minor problems on various tests. This is a snapshot prior to possible major changes in order to fix the sqlite3AbortOtherActiveVdbes problem. (CVS 4327) (check-in: [35cb63ec] user: drh branch: trunk, size: 26921)
12:31
[6297cd1f] part of check-in [e38ef81b] Modifications to the malloc failure tests to test transient and persistent failures. (CVS 4321) (check-in: [e38ef81b] user: danielk1977 branch: trunk, size: 26956)
2007-08-25
13:37
[e1b40aa1] part of check-in [b076e165] Update the rest of the malloc failure test scripts to use the new interface. (CVS 4296) (check-in: [b076e165] user: danielk1977 branch: trunk, size: 26960)
2007-08-22
02:56
[b436e762] part of check-in [783e07d5] A complete run of quick.test with mutex debugging enabled. (CVS 4266) (check-in: [783e07d5] user: drh branch: trunk, size: 26927)
2007-08-12
20:07
[f4e77c30] part of check-in [990f621f] Updates to test scripts for better support of soft-heap-limit testing. (CVS 4209) (check-in: [990f621f] user: drh branch: trunk, size: 26961)
2007-06-21
15:25
[1cf80839] part of check-in [2dafe08a] Clarify documentation of the column metadata APIs. Make sure that the new documentation claims are tested. (CVS 4107) (check-in: [2dafe08a] user: drh branch: trunk, size: 26960)
2007-06-19
10:58
[08fe846d] part of check-in [783f19be] Do not segfault even if sqlite is misused by requesting query results after the query has been reset. ticket #2426. (CVS 4090) (check-in: [783f19be] user: drh branch: trunk, size: 26600)
2007-03-30
20:46
[16753231] part of check-in [e5e8d563] Remove vestiges of SQLITE_PROTOCOL from the test scripts. (CVS 3774) (check-in: [e5e8d563] user: drh branch: trunk, size: 26222)
2007-01-03
23:37
[4063c4be] part of check-in [70a86270] Clean up memory leaks and uninitialized variables detected by valgrind. Identify all tests where we deliberately derefence freed memory by adding a "-misuse" tag. (CVS 3550) (check-in: [70a86270] user: drh branch: trunk, size: 26278)
2006-08-16
16:42
[5f54824e] part of check-in [8c52d2ad] Allows UPDATE, INSERT, and DELETEs to occur while a SELECT is pending on the same table. (CVS 3355) (check-in: [8c52d2ad] user: drh branch: trunk, size: 26243)
2006-04-07
13:50
[0d26e0ef] part of check-in [e64809f0] Return the correct declared column type, origin column name, origin database name, etc. from aggregate queries. Ticket #1726 and #1755. (CVS 3169) (check-in: [e64809f0] user: drh branch: trunk, size: 26252)
2006-02-18
16:36
[6553fb89] part of check-in [f8173e6a] Always generate code, even if it is a no-op, for CREATE and DROP statements that use the IF EXISTS or IF NOT EXISTS clause. (CVS 3106) (check-in: [f8173e6a] user: drh branch: trunk, size: 25901)
2006-02-10
07:07
[6f9f2240] part of check-in [5e8611e1] Fix the origin APIs so that they correctly handle views and subqueries that cannot be flattened. (CVS 3072) (check-in: [5e8611e1] user: danielk1977 branch: trunk, size: 25072)
02:27
[e26c09ec] part of check-in [82f502cd] Add the column_origin_name() etc. APIs. (CVS 3069) (check-in: [82f502cd] user: danielk1977 branch: trunk, size: 24788)
2006-01-30
22:35
[f36912f2] part of check-in [9d53cc88] Make sure the 3rd parameter to sqlite3_prepare() is honored. Ticket #1650. (CVS 3040) (check-in: [9d53cc88] user: drh branch: trunk, size: 22241)
2006-01-23
21:37
[e573d6b8] part of check-in [c4c90965] Progress toward getting SQLITE_OMIT_FLOATING_POINT to pass all tests. Ticket #1621 (CVS 3012) (check-in: [c4c90965] user: drh branch: trunk, size: 21820)
2006-01-17
09:35
[128b418b] part of check-in [3a54a33d] Test suite fixes for builds that define OMIT symbols. (CVS 2962) (check-in: [3a54a33d] user: danielk1977 branch: trunk, size: 21775)
2006-01-13
01:25
[318098b6] part of check-in [ace8ba81] Add tests to make sure "PRAGMA table_info" works using sqlite3_prepare16. Ticket #1606. (CVS 2932) (check-in: [ace8ba81] user: drh branch: trunk, size: 21708)
2006-01-09
23:40
[523bae08] part of check-in [ec332d88] Added database server example code (untested). Fixed serveral bugs including the autovacuum compile problem described by ticket #1593. (CVS 2897) (check-in: [ec332d88] user: drh branch: trunk, size: 21329)
2006-01-03
00:33
[1b8afa5c] part of check-in [70b22857] The sqlite TCL command no longer returns the hex address of the sqlite3* structure. Instead there is a new command in testfixture to find that information. (CVS 2852) (check-in: [70b22857] user: drh branch: trunk, size: 21261)
2005-12-16
01:06
[af46034e] part of check-in [cd110aa2] Initial infrastructure for recognizing DESC indices and being able to read and write older databases that specify DESC indices but do not really use them. Nothing is close to working yet. (CVS 2822) (check-in: [cd110aa2] user: drh branch: trunk, size: 21160)
2005-08-11
02:10
[fc8e5734] part of check-in [fa7403c7] Improve the error message associated with SQLITE_FULL. Ticket #1353. Also remove error messages for obsolete error codes SQLITE_INTERNAL, SQLITE_NOTFOUND, and SQLITE_TOOBIG. (CVS 2580) (check-in: [fa7403c7] user: drh branch: trunk, size: 21160)
2005-06-06
17:54
[4d848cc5] part of check-in [12c32f13] Return SQLITE_MISUSE when passing a NULL pointer into sqlite3_bind routines. Ticket #1219. (CVS 2497) (check-in: [12c32f13] user: drh branch: trunk, size: 21312)
2005-05-26
16:23
[feadced0] part of check-in [4a7f1275] Add an experimental sqlite3_get_autocommit() API used to test whether or not changes are committed automatically. (CVS 2486) (check-in: [4a7f1275] user: drh branch: trunk, size: 21129)
2005-03-09
12:26
[7c1c9189] part of check-in [9d5abc1d] Support for a future ALTER TABLE command to add columns with default values. (CVS 2367) (check-in: [9d5abc1d] user: danielk1977 branch: trunk, size: 20576)
2005-02-19
08:18
[39143488] part of check-in [173aeb25] Support for a future file format that includes 'short' records. (CVS 2351) (check-in: [173aeb25] user: danielk1977 branch: trunk, size: 20576)
2005-01-24
10:25
[f50dd466] part of check-in [d5233e07] Modifications and bugfixes so that the test suite passes with the TCL statement cache turned on. (CVS 2271) (check-in: [d5233e07] user: danielk1977 branch: trunk, size: 20576)
2005-01-22
03:03
[607c90dd] part of check-in [df648d50] Add the experimental sqlite3_expired() API. (CVS 2263) (check-in: [df648d50] user: drh branch: trunk, size: 20685)
2005-01-20
01:14
[ffb8bd78] part of check-in [9480209e] Add the experimental sqlite3_sleep() and sqlite3_clear_bindings() APIs. (CVS 2237) (check-in: [9480209e] user: danielk1977 branch: trunk, size: 20577)
2004-11-22
10:02
[3b33bf7c] part of check-in [af635cab] Back out changes allowing writes to tables that have open cursors. (CVS 2134) (check-in: [af635cab] user: danielk1977 branch: trunk, size: 19696)
2004-11-20
20:18
[c53e4eea] part of check-in [accd432e] Better error message on an SQLITE_RANGE error. Ticket #991. (CVS 2124) (check-in: [accd432e] user: drh branch: trunk, size: 19946)
2004-11-16
15:50
[da88858e] part of check-in [a2e1c35b] Perform deletes in a single pass. (CVS 2104) (check-in: [a2e1c35b] user: danielk1977 branch: trunk, size: 19944)
2004-11-14
21:56
[c9b16283] part of check-in [98c7a554] The SQLITE_OMIT_UTF16 macro now removes lots of code and all tests still pass. (CVS 2100) (check-in: [98c7a554] user: drh branch: trunk, size: 19678)
04:04
[1e15509a] part of check-in [59a0a8b7] Changes toward reducing code size when SQLITE_OMIT_UTF16 is enabled. (CVS 2099) (check-in: [59a0a8b7] user: drh branch: trunk, size: 19632)
2004-09-02
14:57
[9258ca75] part of check-in [d1b29156] Transactions commit on the last sqlite3_step(), not on sqlite3_finalize(). This allows the sqlite3_step() to return SQLITE_BUSY if the commit is blocked by a lock. Ticket #885. (CVS 1928) (check-in: [d1b29156] user: drh branch: trunk, size: 19302)
2004-07-22
15:02
[e2d47b59] part of check-in [b0a3becd] Fix bugs associated with the codec. (CVS 1846) (check-in: [b0a3becd] user: drh branch: trunk, size: 19301)
2004-06-30
06:30
[85c4445c] part of check-in [d256c149] Add some tests for overlapping SELECT, COMMIT and ROLLBACK commands. (CVS 1774) (check-in: [d256c149] user: danielk1977 branch: trunk, size: 19010)
02:35
[3a7f759c] part of check-in [6c5c11e0] Minor fixes for UTF-16 databases. (CVS 1770) (check-in: [6c5c11e0] user: danielk1977 branch: trunk, size: 15642)
2004-06-29
14:03
[f16c92be] part of check-in [9cf371d8] Fix capi3.test so that it works with production (as well as debugging ) builds. (CVS 1766) (check-in: [9cf371d8] user: danielk1977 branch: trunk, size: 15341)
13:18
[e878f7fb] part of check-in [15a084e9] Test cases intended to improve coverage of main.c. (CVS 1763) (check-in: [15a084e9] user: danielk1977 branch: trunk, size: 15294)
08:59
[c6af4822] part of check-in [157db33e] Fix error reporting path for errors that occur while reading the database schema. (CVS 1757) (check-in: [157db33e] user: danielk1977 branch: trunk, size: 11740)
2004-06-28
13:09
[b05be389] part of check-in [33292104] More coverage testing. (CVS 1754) (check-in: [33292104] user: danielk1977 branch: trunk, size: 11198)
2004-06-27
01:56
[ac53507f] part of check-in [ad65c6e2] Fix a bug in the handling of Mems inside of vdbe.c. (CVS 1745) (check-in: [ad65c6e2] user: drh branch: trunk, size: 9887)
2004-06-19
03:33
[6528034f] part of check-in [61819740] Update sqlite3_close() API to match documentation. (CVS 1630) (check-in: [61819740] user: danielk1977 branch: trunk, size: 9897)
00:16
[6ed6bcbc] part of check-in [d705d051] Change the name of the TCL command from "sqlite" to "sqlite3" so that both SQLite version 2 and SQLite version 3 can be used by Tcl at the same time. (CVS 1626) (check-in: [d705d051] user: drh branch: trunk, size: 9346)
2004-05-28
13:13
[b6fe8a66] part of check-in [c8a40218] Fix a bug in the sqlite3_column_decltype() API. (CVS 1486) (check-in: [c8a40218] user: danielk1977 branch: trunk, size: 9353)
2004-05-27
10:30
[3d4d431c] part of check-in [c9e3015f] A few more bugfixes. Test cases pass now. (CVS 1472) (check-in: [c9e3015f] user: danielk1977 branch: trunk, size: 8930)
09:28
[4ac3a6c5] part of check-in [67a140cf] Various bugfixes. 68 Test cases still fail. (CVS 1471) (check-in: [67a140cf] user: danielk1977 branch: trunk, size: 8916)
01:49
[f207b48d] part of check-in [74097ecd] More test cases for the new query API. (CVS 1468) (check-in: [74097ecd] user: danielk1977 branch: trunk, size: 8663)
01:04
[64b7bad6] part of check-in [d72adf0c] Add TCL test bindings and some more test cases for the new query API. (CVS 1467) (check-in: [d72adf0c] user: danielk1977 branch: trunk, size: 7799)
2004-05-26
13:27
[7ee3e339] part of check-in [ce8b1520] Ensure the type of an sqlite3_value* is not modified by calls to sqlite3_value_*() calls. (CVS 1463) (check-in: [ce8b1520] user: danielk1977 branch: trunk, size: 6916)
10:11
[b85ea1e6] part of check-in [d5659f2e] Add some tests for the new API. Many more to come. (CVS 1462) (check-in: [d5659f2e] user: danielk1977 branch: trunk, size: 6916)
2004-05-21
10:08
[5b01d70e] part of check-in [fc94575d] Further work on the new API. All the functions to execute queries are there now. (CVS 1427) (check-in: [fc94575d] user: danielk1977 branch: trunk, size: 3906)
01:47
[ff3dfacd] part of check-in [307b5500] Add new sqlite3_open() and sqlite3_open16() APIs. (CVS 1423) (check-in: [307b5500] user: danielk1977 branch: trunk, size: 3892)
2004-05-20
11:00
[acc3919c] part of check-in [2821767b] Add some more elements of the new API. (CVS 1416) (check-in: [2821767b] user: danielk1977 branch: trunk, size: 2761) Added