drh
1c767f0df3
More coverage improvements. (CVS 6148)
...
FossilOrigin-Name: 6e171c0a64850013b26a223189d5bebcc0a01a8b
2009-01-09 02:49:31 +00:00
drh
ad4a4b8047
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)
FossilOrigin-Name: 51f04aaff2803487933b9dfcf39f27a249f18a98
2008-11-05 16:37:34 +00:00
drh
99dfe5eb47
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)
FossilOrigin-Name: 4c6a90a16627b1664bf7f15ab40b440b3bd60b48
2008-10-30 15:03:15 +00:00
danielk1977
185eac95b6
Fix the test script --binarylog option. (CVS 5401)
...
FossilOrigin-Name: 03e3cfc4ccab3c6441d41ade175dc041b8fa6c98
2008-07-12 15:55:54 +00:00
drh
a2820970c5
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)
FossilOrigin-Name: 024d439299478062b6efdb63adce85b251af18ce
2008-07-07 13:31:58 +00:00
drh
52fd7beaba
Additional tests added to capi3.test. (CVS 5285)
...
FossilOrigin-Name: 1fdab2c65b966f74bdf130c640ae56a0e811fb71
2008-06-23 17:56:47 +00:00
drh
4837f53121
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)
FossilOrigin-Name: 846a69acb59403438696000b4ffd588ab42b2f95
2008-05-23 14:49:49 +00:00
drh
65594045d0
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)
FossilOrigin-Name: bdd89cd231745e6bd498b2751d7ff2cf6169b3eb
2008-05-05 16:56:34 +00:00
danielk1977
3a2c8c8b73
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)
...
FossilOrigin-Name: c287a7b29410be12cf88f886e8e2525a42aa9c03
2008-04-03 14:36:25 +00:00
drh
345331507f
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)
FossilOrigin-Name: 57805b588f6b6d070918102a0ff096ade674279a
2008-03-19 13:03:33 +00:00
drh
bb8a279e11
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)
FossilOrigin-Name: 24e769972eb6052b82dc94d20444c186a213e104
2008-03-19 00:21:30 +00:00
drh
e4d052a314
Additional test cases. (CVS 4806)
...
FossilOrigin-Name: 74126bf4e605dc875adbf5a0ee83bf8112891e35
2008-02-21 21:30:07 +00:00
drh
c4dd3fd280
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)
FossilOrigin-Name: 2a0bc1e186532a0bfe36ca18fda74a5e7a199227
2008-01-22 01:48:05 +00:00
drh
85b623f2f9
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)
FossilOrigin-Name: 4e91a267febda572e7239f0f1cc66b3102558c36
2007-12-13 21:54:09 +00:00
drh
0cf19ed817
Add comments, assertions, and test cases to demonstrate that the
...
problem described in ticket #2742 is not a real problem. (CVS 4510)
FossilOrigin-Name: c085d6dfc0f5849113986cb2a25e64d0c95b3dfb
2007-10-23 18:55:48 +00:00
drh
107b25f1bd
Fix minor problems on various tests. This is a snapshot prior to possible
...
major changes in order to fix the sqlite3AbortOtherActiveVdbes problem. (CVS 4327)
FossilOrigin-Name: 35cb63ecfd9d8ca7304aae1b150ee5d1c3498bde
2007-08-29 19:15:08 +00:00
danielk1977
a1644fd863
Modifications to the malloc failure tests to test transient and persistent failures. (CVS 4321)
...
FossilOrigin-Name: e38ef81b85feb5bff2ad8448f3438ff0ab36571e
2007-08-29 12:31:25 +00:00
danielk1977
222a757dba
Update the rest of the malloc failure test scripts to use the new interface. (CVS 4296)
...
FossilOrigin-Name: b076e1655d6bae5ae10e6ceee646f502435da66a
2007-08-25 13:37:48 +00:00
drh
27641703cc
A complete run of quick.test with mutex debugging enabled. (CVS 4266)
...
FossilOrigin-Name: 783e07d561d1f5509de9475f3b9f38315f247002
2007-08-22 02:56:42 +00:00
drh
3aefabaf94
Updates to test scripts for better support of soft-heap-limit testing. (CVS 4209)
...
FossilOrigin-Name: 990f621f2247f1636e895dcf51fea1e08f202d31
2007-08-12 20:07:58 +00:00
drh
bf2564f612
Clarify documentation of the column metadata APIs. Make sure that the
...
new documentation claims are tested. (CVS 4107)
FossilOrigin-Name: 2dafe08a91b5328a9d0df5ab29c3ff2d94ad5f6f
2007-06-21 15:25:05 +00:00
drh
b21f87dda1
Do not segfault even if sqlite is misused by requesting query results
...
after the query has been reset. ticket #2426 . (CVS 4090)
FossilOrigin-Name: 783f19be387561fbca3ac7e223bdb7dedb5450c8
2007-06-19 10:58:24 +00:00
drh
331e8d6216
Remove vestiges of SQLITE_PROTOCOL from the test scripts. (CVS 3774)
...
FossilOrigin-Name: e5e8d56397acf041aeaf5361381eb22eb1554759
2007-03-30 20:46:13 +00:00
drh
dddb2f23e2
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)
FossilOrigin-Name: 70a862702d6dfcfe73bdeef8f0502c6c50e32a3a
2007-01-03 23:37:28 +00:00
drh
980b1a7405
Allows UPDATE, INSERT, and DELETEs to occur while a SELECT is pending on
...
the same table. (CVS 3355)
FossilOrigin-Name: 8c52d2ad468615e50a727adab2977a0bef1bc068
2006-08-16 16:42:48 +00:00
drh
30bcf5dbaf
Return the correct declared column type, origin column name, origin database
...
name, etc. from aggregate queries. Ticket #1726 and #1755 . (CVS 3169)
FossilOrigin-Name: e64809f0ae98ce9d152cf030cae72bf3df3e2403
2006-04-07 13:50:37 +00:00
drh
e134ff1ea8
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)
FossilOrigin-Name: f8173e6aea8e90f64f5907f3f7ff4f34281f40da
2006-02-18 16:36:45 +00:00
danielk1977
1787ccabed
Fix the origin APIs so that they correctly handle views and subqueries that cannot be flattened. (CVS 3072)
...
FossilOrigin-Name: 5e8611e13de08d704cea6c9c4466c3af842a7a1a
2006-02-10 07:07:14 +00:00
danielk1977
955de52c9c
Add the column_origin_name() etc. APIs. (CVS 3069)
...
FossilOrigin-Name: 82f502cdc1fead3bf7e3190d5c9db3aee6919ed4
2006-02-10 02:27:42 +00:00
drh
9051a420d6
Make sure the 3rd parameter to sqlite3_prepare() is honored. Ticket #1650 . (CVS 3040)
...
FossilOrigin-Name: 9d53cc880fd2aa3bd4b4a59f666b57b0b7864e8f
2006-01-30 22:35:43 +00:00
drh
1b91c729b5
Progress toward getting SQLITE_OMIT_FLOATING_POINT to pass all tests.
...
Ticket #1621 (CVS 3012)
FossilOrigin-Name: c4c90965c98c591f601cd69c70351c20ba37218a
2006-01-23 21:37:32 +00:00
danielk1977
3bdca9c9a5
Test suite fixes for builds that define OMIT symbols. (CVS 2962)
...
FossilOrigin-Name: 3a54a33dcb7e765ee3773397407e8929a8cfe1a9
2006-01-17 09:35:01 +00:00
drh
83330ed8ce
Add tests to make sure "PRAGMA table_info" works using sqlite3_prepare16.
...
Ticket #1606 . (CVS 2932)
FossilOrigin-Name: ace8ba817766f9da270cd7f06b68cc537768a8be
2006-01-13 01:25:05 +00:00
drh
29c636bc12
Added database server example code (untested). Fixed serveral bugs including
...
the autovacuum compile problem described by ticket #1593 . (CVS 2897)
FossilOrigin-Name: ec332d8822d1ac9673581a26ab2a2fce5f2554a3
2006-01-09 23:40:25 +00:00
drh
dddca28608
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)
FossilOrigin-Name: 70b228575e045bc56013aab945334203ceb31d8b
2006-01-03 00:33:50 +00:00
drh
fdd6e85a34
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)
FossilOrigin-Name: cd110aa225b09591064405dd8952b3df37278c52
2005-12-16 01:06:16 +00:00
drh
2db0bbc24b
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)
FossilOrigin-Name: fa7403c7d9948cc4a6c6ed00a614e3d6a3682e78
2005-08-11 02:10:18 +00:00
drh
473d179d8a
Return SQLITE_MISUSE when passing a NULL pointer into sqlite3_bind routines.
...
Ticket #1219 . (CVS 2497)
FossilOrigin-Name: 12c32f139bae3cb7ca520451bfc15f9f7d94833d
2005-06-06 17:54:55 +00:00
drh
3e1d8e6356
Add an experimental sqlite3_get_autocommit() API used to test whether or not
...
changes are committed automatically. (CVS 2486)
FossilOrigin-Name: 4a7f1275857602e3841ccb2d43a5c4d3d3e87bff
2005-05-26 16:23:34 +00:00
danielk1977
aee18ef8e2
Support for a future ALTER TABLE command to add columns with default values. (CVS 2367)
...
FossilOrigin-Name: 9d5abc1ddf6da37563c12d5a0401b89bb4e51c59
2005-03-09 12:26:50 +00:00
danielk1977
36963fdca8
Support for a future file format that includes 'short' records. (CVS 2351)
...
FossilOrigin-Name: 173aeb256e2c09098a4392874f8623e8a760d951
2005-02-19 08:18:05 +00:00
danielk1977
a21c6b6fe0
Modifications and bugfixes so that the test suite passes with the TCL statement cache turned on. (CVS 2271)
...
FossilOrigin-Name: d5233e0747789dea04d35a8350b408321d23a64d
2005-01-24 10:25:59 +00:00
drh
d89bd007ba
Add the experimental sqlite3_expired() API. (CVS 2263)
...
FossilOrigin-Name: df648d50c0696cf7ada2fe5973d285b494891964
2005-01-22 03:03:54 +00:00
danielk1977
600dd0ba33
Add the experimental sqlite3_sleep() and sqlite3_clear_bindings() APIs. (CVS 2237)
...
FossilOrigin-Name: 9480209e8600bf411975b3950c407d60c800e5c6
2005-01-20 01:14:23 +00:00
danielk1977
12b13002ce
Back out changes allowing writes to tables that have open cursors. (CVS 2134)
...
FossilOrigin-Name: af635cab8a1d761c469e35208dda08a29f0964a1
2004-11-22 10:02:21 +00:00
drh
b08153d0fb
Better error message on an SQLITE_RANGE error. Ticket #991 . (CVS 2124)
...
FossilOrigin-Name: accd432e4d9626353e555e63298fb7a56a41e53d
2004-11-20 20:18:55 +00:00
danielk1977
ed326d7047
Perform deletes in a single pass. (CVS 2104)
...
FossilOrigin-Name: a2e1c35b327e33684ab19e5f65727c42c7b2949c
2004-11-16 15:50:19 +00:00
drh
6c62608fc6
The SQLITE_OMIT_UTF16 macro now removes lots of code and all tests still pass. (CVS 2100)
...
FossilOrigin-Name: 98c7a55478f7c465b219edc1a33eee222586fd65
2004-11-14 21:56:29 +00:00
drh
5436dc2d97
Changes toward reducing code size when SQLITE_OMIT_UTF16 is enabled. (CVS 2099)
...
FossilOrigin-Name: 59a0a8b7cebc011731654bd0545cf8d19612ca8e
2004-11-14 04:04:17 +00:00
drh
92f02c31d4
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)
FossilOrigin-Name: d1b29156558f1c576002cdb2544dffaa693da39b
2004-09-02 14:57:08 +00:00