drh
582de4f297
Remove the malloc2.test script since it was designed for use in versions
...
of SQLite that predate SQLite's ability to recover from out-of-memory
errors automatically. Removing this script causes no reduction in
test coverage and removes potential problems reported by ticket #3213 . (CVS 5409)
FossilOrigin-Name: 5bfc962533995530a0ef0875556f9f46e8dbf68b
2008-07-14 15:11:20 +00:00
drh
ff1590ee00
Write sqlite3_initialize() calls in sqlite3_malloc() within
...
SQLITE_OMIT_AUTOINIT. Ticket #3217 . (CVS 5408)
FossilOrigin-Name: 4961b0bbe8b9cf5fb27de7f2514e8ab399a00134
2008-07-14 12:52:53 +00:00
danielk1977
185eac95b6
Fix the test script --binarylog option. (CVS 5401)
...
FossilOrigin-Name: 03e3cfc4ccab3c6441d41ade175dc041b8fa6c98
2008-07-12 15:55:54 +00:00
drh
e8f52c5089
Remove leftover debugging commands (breakpoint and btree_breakpoint) from
...
test scripts. (CVS 5400)
FossilOrigin-Name: dcb160249fa2d592ad09b8b0052102dc44a93511
2008-07-12 14:52:20 +00:00
drh
a34605859d
Detect and handles the case where a row is modified or deleted while it
...
is being read during SELECT processing. (CVS 5399)
FossilOrigin-Name: c80a5d09935c60a2a50bc262c172a94073355f0d
2008-07-11 21:02:53 +00:00
drh
a29afcbd1e
Added corruptA.test for testing malformed database headers. (CVS 5397)
...
FossilOrigin-Name: 6dcce6b9748c6148a768a4f6b69f33f70edc3993
2008-07-11 16:39:23 +00:00
drh
34004cebb6
Additional test coverage for the btree module. Remove the failsafe() macro
...
and replace it with ALWAYS() and NEVER(). (CVS 5395)
FossilOrigin-Name: d7e2f0d2d45574d6191c1b191c0daf5260696f27
2008-07-11 16:15:17 +00:00
drh
8278ce7910
Fix minor problems in the test scripts and harness. (CVS 5394)
...
FossilOrigin-Name: c9ffbfe343b640051161301869698dd9f1f76cb7
2008-07-11 13:53:54 +00:00
drh
1013148b1c
Make the btree layer robust when faced with a corrupt database that
...
contains duplicate entries on the freelist. Ticket #3209 . (CVS 5392)
FossilOrigin-Name: 30825f74d60d8ace39bafd06814017ceefeb4fa4
2008-07-11 03:34:09 +00:00
drh
fa67c3c584
Additional test coverage in btree.c. Added corruption tests for
...
the ptrmap pages of an autovacuumed database (corrupt8.test). (CVS 5391)
FossilOrigin-Name: 620b472133438607c412e0c21d2a27605a89a414
2008-07-11 02:21:40 +00:00
drh
8a42cbd3f0
Enhancements to the testing logic for malloc and mutex. Only permit one
...
of MEMSYS3/5 to be compiled-in at a time. Omit the SQLITE_CONFIG_MEMSYS3/5
configuration options. (CVS 5389)
FossilOrigin-Name: ed8b2525006ae7f8cacd01b291760513fdbdff57
2008-07-10 18:13:42 +00:00
danielk1977
80b3c54851
Fix a crash in flattenSubquery(). (CVS 5388)
...
FossilOrigin-Name: 9c8b97ef593c17740640a01a7338164d7fbe070e
2008-07-10 17:59:12 +00:00
danielk1977
9a6284c1bb
Add the SQLITE_OPEN_NOMUTEX flag. Used for opening connections that are not protected by an internal mutex. (CVS 5387)
...
FossilOrigin-Name: 7e58b78712420b3bd4320192a58d89eb71eecc9c
2008-07-10 17:52:49 +00:00
drh
93a960a0a8
Remove unused code. Test coverage enhancements. Modify the algorithm used
...
to select column names for VIEWs of joins so that the constructed column
names omits the underlying table names. (CVS 5386)
FossilOrigin-Name: 636cd723296a8b1709011fdd99b236ffddf3f1b0
2008-07-10 00:32:42 +00:00
drh
af005fbc13
Test coverage improvements on printf. (CVS 5385)
...
FossilOrigin-Name: 2d8f7bebf0f13f3a95f1e2163e35d43229cabfea
2008-07-09 16:51:51 +00:00
danielk1977
10235605ff
Add a test case to join.test. No code changes, no bugs found. (CVS 5384)
...
FossilOrigin-Name: 417aa1580abec8cc335dcb6ac36245c081a31ef8
2008-07-09 14:47:21 +00:00
danielk1977
474b7cc785
Coverage testing for balance_quick() and balance_deeper(). (CVS 5382)
...
FossilOrigin-Name: 491f8f9613d2b886acad2ab8f631a4ec61ad698d
2008-07-09 11:49:46 +00:00
drh
e49b146f30
Additional test coverage in select.c and expr.c. (CVS 5381)
...
FossilOrigin-Name: c6cf08477cc4d622a05ad6706cb9418cf7eea432
2008-07-09 01:39:44 +00:00
drh
a9671a22b3
Remove obsolete code from select.c, including the "affinity" parameter
...
to the sqlite3Select() module. (CVS 5380)
FossilOrigin-Name: cbd3c1585b7a8f8042aa1448fe1be87de056c41a
2008-07-08 23:40:20 +00:00
drh
0880a74633
Improved testing of the min/max optimization. (CVS 5373)
...
FossilOrigin-Name: fa07c360b708324c47c8e9931f1e2b1b24e4faf8
2008-07-08 18:05:26 +00:00
danielk1977
49fc1f60b0
Prevent the flattening optimization from transforming a to a query with an illegal ORDER BY clause. (CVS 5372)
...
FossilOrigin-Name: 6c2adade34fdbe344cf73f6bac951e0c37dd003b
2008-07-08 17:43:56 +00:00
danielk1977
1bc71590c4
Test another corruption case in btree.c. And an IO error related scenario. (CVS 5371)
...
FossilOrigin-Name: d74fbb81ca3f973ac46534344e5076afc5dd5491
2008-07-08 17:13:59 +00:00
danielk1977
9ffe5d7247
3 more coverage tests for btree.c. (CVS 5370)
...
FossilOrigin-Name: 96df0a5fa4bb2b3dfedf034d81704e152cdc63a9
2008-07-08 15:59:51 +00:00
drh
ddff9ae46b
Tests for SQLITE_LIMIT_LENGTH enforcement in sqlite3_bind. (CVS 5369)
...
FossilOrigin-Name: c5e45dd664198e5b4fc44b316bd4adbc9a6c296b
2008-07-08 15:26:49 +00:00
danielk1977
35af9ba095
Another corruption related test case. (CVS 5367)
...
FossilOrigin-Name: f781a68127c97e30763447a12314180f0728deb9
2008-07-08 14:31:14 +00:00
danielk1977
a961339cd7
Extra coverage tests for btree.c. (CVS 5365)
...
FossilOrigin-Name: 08334f60303e63b581fa7f1f00d3e8833f1710ca
2008-07-08 12:07:32 +00:00
danielk1977
3aa4b67f04
Improve coverage of btree.c. (CVS 5363)
...
FossilOrigin-Name: f6d9cb835b8f75545f455328d61ba225e7da9bc4
2008-07-08 10:19:58 +00:00
danielk1977
983e230939
Prohibit the user from changing the temporary storage medium (pragma temp_store) while there is a read transaction open on the temporary database. Add tests to shared.test to cover a few more lines in btree.c. (CVS 5362)
...
FossilOrigin-Name: 92e0cf9a08a8b337a8f239afb048a0e045485771
2008-07-08 07:35:51 +00:00
drh
f43639a0bc
Test coverage improvements in printf.c. (CVS 5360)
...
FossilOrigin-Name: 6f2629c78327bb6cbb15d1f9900a1ef58f2d37dd
2008-07-08 02:24:02 +00:00
drh
c8d75674d6
Add tests to verify correct behavior when mutex initialization fails. (CVS 5359)
...
FossilOrigin-Name: 65875005ac8bc7988d7d7d8e8b999857449568fd
2008-07-08 02:12:37 +00:00
drh
fb45d8c563
Testing coverage enhancements. (CVS 5358)
...
FossilOrigin-Name: fe80aa58a4ac12db5a92d25d28165f5159f04533
2008-07-08 00:06:49 +00:00
drh
bd0b1b50f4
Make check-in (5356) compatible with builds that do not enable memory
...
management. Remove unnecessary code from main.c. Add out-of-memory
tests for sqlite3_complete16(). (CVS 5357)
FossilOrigin-Name: 28f8b6bfcc3e169f8a54a6681395f2c85bf99cab
2008-07-07 19:52:09 +00:00
danielk1977
75c5fa88e9
Fix a problem in shared_err.test preventing it from running properly and add a test to corrupt2.test to cover another corruption detection case. (CVS 5355)
...
FossilOrigin-Name: 2dcd5287a0d71140baa23aae2ab3d95d78a5676d
2008-07-07 17:55:28 +00:00
danielk1977
b34a4ede32
Another test case to test a specific kind of database corruption. (CVS 5352)
...
FossilOrigin-Name: 38e04d67635d49661f9b95338fc1cb8197bf0bc7
2008-07-07 17:04:22 +00:00
danielk1977
2b76b05dcc
Add a test case to test corruption discovered as part of the ptrmapPut() routine. (CVS 5351)
...
FossilOrigin-Name: cbb9536fc4fb2419e0eb6f3a32c67eeb7a73da82
2008-07-07 15:39:11 +00:00
danielk1977
7eaabcdb2a
Test a couple of specific malloc() failures that were not tested before. (CVS 5350)
...
FossilOrigin-Name: b96bcaa197519b5be89e1f6a1579f0e36fe2b644
2008-07-07 14:56:56 +00:00
drh
24b58dd717
Additional test cases added on the sqlite3_create_function() interface. (CVS 5349)
...
FossilOrigin-Name: 4e941f3d43556d8a503bb96e8a74451de36d243e
2008-07-07 14:50:14 +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
danielk1977
bb50e7ad76
Fix for explicitly inserting a NULL value into the rowid column of a virtual table. (CVS 5343)
...
FossilOrigin-Name: a7f3b431669f7392a6acba8cd8f3fa5297a916b5
2008-07-04 10:56:07 +00:00
danielk1977
a7d8b85980
Remove references to temporary registers from the compiler column-cache when such registers are released. Fix for #3201 . (CVS 5341)
...
FossilOrigin-Name: f099d6773a837dbe4ba85a8fda818e2d9466e743
2008-07-04 09:15:11 +00:00
shess
6c106e3f3b
fts3 functions for testing scripts. These are a first step towards
...
being able to write test script which verify that fts3 is internally
building indices in the expected way. Both new functions are only
defined if fts3.c is compiled with SQLITE_TEST defined, as when
building testfixture. These functions are not intended to be part of
the exposed fts3 API.
dump_terms() generates a TEXT result of all the terms in the index (or
a specified segment), sorted and joined with spaces.
dump_doclist() generates a TEXT representation of the doclist
associated with a given term in the index (or a specified segment). (CVS 5340)
FossilOrigin-Name: a48e3d95f7a656285e959cef595cbe6d53428ad9
2008-07-03 19:53:21 +00:00
danielk1977
524cc21ed6
Call the authorizer callback the same number of times whether or not the query flattening occurs. (CVS 5338)
...
FossilOrigin-Name: 8b88b64bb37df4e38cbfe31a14c219688b26e2af
2008-07-02 13:13:51 +00:00
danielk1977
4914cf92e3
Fix errors in in.test. Also add a few tests to selectB.test. (CVS 5337)
...
FossilOrigin-Name: 8f9d1abb315a3d4aa3a580fd5cf3ae572cc330f4
2008-07-01 18:26:49 +00:00
danielk1977
5e7ad50858
Fix another memory leak related to UNION ALL and sub-selects. (CVS 5336)
...
FossilOrigin-Name: 56109b9a1f600ab3f16769aba0d47dcf782bbc95
2008-07-01 17:39:27 +00:00
danielk1977
eca7e01a71
Fix a memory leak to do with the recent UNION ALL sub-select optimization. (CVS 5333)
...
FossilOrigin-Name: 6ee71f4ddb4fa934f58c87dad2d30560af2e55d7
2008-07-01 16:05:25 +00:00
danielk1977
4b86ef1d87
Fix a problem with LIMIT and OFFSET clauses on the parent query when optimizing a UNION ALL sub-select. (CVS 5332)
...
FossilOrigin-Name: a79786a961dba8f4ffaddbe55e6467c14b12f7d6
2008-07-01 14:39:35 +00:00
danielk1977
f23329a221
Optimize sub-selects and views that use UNION ALL. This optimization isn't very well tested yet. (CVS 5331)
...
FossilOrigin-Name: 3ef468e7046b2091b5b6880fe19261ef1ee2887b
2008-07-01 14:09:13 +00:00
danielk1977
daf79acb68
Call the query flattener while processing the parent query. Previously, it was called while processing the sub-queries. (CVS 5330)
...
FossilOrigin-Name: 6fcb3bffe26ae1c21c72ce9019f1db1c118094a4
2008-06-30 18:12:28 +00:00
danielk1977
63703a42f1
Changes to loadext.test so that it works on osx as well as linux. (CVS 5329)
...
FossilOrigin-Name: 189cd85413a2e00696752bb82e7a442e86e621ac
2008-06-30 15:09:29 +00:00
danielk1977
7a8097b6d8
Add a couple of tests to see if the new compound select optimizations work when the compound select is hidden inside a view. (CVS 5327)
...
FossilOrigin-Name: 1a711249c25aafbaf08057ffdcbb9cf2f872f13d
2008-06-30 07:53:09 +00:00