3460 Commits

Author SHA1 Message Date
dan
23fb1330ab Further tests for compound SELECT statements.
FossilOrigin-Name: a0f01ebab9bd42fca9ce5d97f8cbf44afd803f4e
2010-09-14 18:56:52 +00:00
dan
fa2a477226 Fix some test failures found running releasetest.tcl.
FossilOrigin-Name: 56a9ce7774a6f163a62684dd8d5357ce16a07de1
2010-09-14 10:53:45 +00:00
dan
4565682f75 Fix walmode.test so that all tests pass with SQLITE_TEMP_STORE=3.
FossilOrigin-Name: 6ba6e59a9d528fb1bdc530d48ab96a2de6e190d6
2010-09-13 19:03:38 +00:00
dan
135aae8ab5 Add tests for compound SELECT statements to e_select.test.
FossilOrigin-Name: 8b0b009f292e0b52bffb08662aef67d9465e5a0a
2010-09-13 18:58:33 +00:00
dan
1fab01ac8a Fix a couple of test files so that they work with DEFAULT_AUTOVACUUM.
FossilOrigin-Name: 8cb39306f4bd9104c9d15d5ee98ec1252e798997
2010-09-13 14:38:19 +00:00
dan
d38bc1b4fa Run the multi-threaded tests in test/threadtest3.c as part of releasetest.tcl. Remove the OMIT_BUILTIN_TEST symbol from the "Device-Two" configuration.
FossilOrigin-Name: 3f5406e3231fbe84659712c9383b3e04cc6c11a8
2010-09-13 12:15:36 +00:00
dan
1c22a1862e Alter some configurations in releasetest.tcl. Print out the wall-clock time taken for each test after it is executed.
FossilOrigin-Name: a91c5af3b033e326b868c3e6782650f6fe055b49
2010-09-13 11:29:02 +00:00
dan
7c7a766a32 Add tests for "DISTINCT" and "ALL" to e_select.test.
FossilOrigin-Name: 43a99d9a88b1c3a6978e79ca21d49de6be2c9def
2010-09-11 17:37:52 +00:00
dan
e6a3838be1 Add tests to e_select.test.
FossilOrigin-Name: 3a051a76f7f116f9ba25fe4e41418b9f0c1401be
2010-09-10 19:18:00 +00:00
drh
ce2198c237 Make sure SQLite is running with MEMSTATUS enabled at the beginning of
every test script.

FossilOrigin-Name: 699953140511c14cbba499fad086187977476660
2010-09-10 13:22:59 +00:00
drh
9a1fb3569f Make sure MEMSTATUS is enabled at the beginning of the memsubsys2.test script.
FossilOrigin-Name: c23b97219df43a870c6cb2aac84e54aaa5db4f3a
2010-09-09 23:42:34 +00:00
dan
59d29658e6 Add test cases to e_select.test.
FossilOrigin-Name: 5e73f7b2b77ba5e0670c512d9ef9eeb9bb654c27
2010-09-09 19:02:55 +00:00
drh
887f8d3946 Make sure memory statistics are enabled for the dbstatus.test script.
FossilOrigin-Name: 35b943a0fc153341f5299218f2884245c63071b3
2010-09-09 17:43:06 +00:00
dan
7413847759 Add WHERE clause tests to e_select.test.
FossilOrigin-Name: 721b73fa5c5898f6c6d5946e1c70ccd2d0b0dccc
2010-09-09 11:33:09 +00:00
dan
cd7fe243ce Add tests for sub-select statements in the FROM clause of a SELECT to e_select.test.
FossilOrigin-Name: 2c6b1ca952be9979b8079431c2abad28419b6256
2010-09-09 10:00:43 +00:00
dan
6d9ab66278 Fix problem with test names in e_select.test.
FossilOrigin-Name: 8fe34faf6b8ddbb8ddd23418163650e846104328
2010-09-08 19:16:48 +00:00
dan
5c3f58e4df Add tests to e_select.test.
FossilOrigin-Name: 727ced6babf8aca87a69632949a7a0ce9bc2be89
2010-09-08 19:02:32 +00:00
dan
c6f3e0cc56 Add tests to e_select.test.
FossilOrigin-Name: 282dae7edf7209197fffb6c58b038b3aae1a0367
2010-09-07 19:05:28 +00:00
drh
86ae38b525 In the test scripts, changes instances of the TCL interface
option "-has_codec" into the correct "-has-codec".

FossilOrigin-Name: f53856a555403678ea8bd721a9fa1ae179240406
2010-09-06 20:28:28 +00:00
dan
8663d0fb80 Add test cases to e_select.test.
FossilOrigin-Name: 9db26d5ef5a4c6f9fe0adf2ff306f6f07b6cc60c
2010-09-06 18:50:55 +00:00
drh
96110deb6a Remove proprietary information from the releasetest.tcl script and add it
to the public repository.

FossilOrigin-Name: e1d4a87e4e195b3a217f6d8a15d6beceb7c22a53
2010-09-06 18:44:14 +00:00
dan
4ce7488075 Add test file e_select.test.
FossilOrigin-Name: 8b9d8c226e5d95584c1e61a796dc23b780a300cb
2010-09-04 18:52:30 +00:00
dan
06ce413680 Add a few more subquery tests to e_expr.test.
FossilOrigin-Name: 189cba0072dd0b90e064f889457921aeaeefda01
2010-09-03 10:58:47 +00:00
dan
74b617b22a Move the test for an (illegal) scalar sub-query that returns more than one column to earlier in SELECT processing in order to avoid an assert() that can happen later on.
FossilOrigin-Name: a55842cfb56b659c88832dce9ce7bafb50258211
2010-09-02 19:01:16 +00:00
dan
aac1bf9497 Add test case to verify the previous change is correct.
FossilOrigin-Name: 2a5eed35b410fb6bd69242841c00700906f48d5f
2010-09-02 14:35:36 +00:00
dan
4336cc45c5 Add tests for the EXISTS operator to e_expr.test.
FossilOrigin-Name: 9f9a95cc80961b2733d34bd66cfccfbffb358ed6
2010-09-02 11:53:12 +00:00
dan
b0c6a8884b If MEM_STATUS is disabled, avoid holding the STATIC_MEM mutex when calling the user-defined xMalloc method. Holding the mutex causes problems for memsys3 and memsys5.
FossilOrigin-Name: 4f20f8ba73691c8a1dc33d2fcd1e793dd08f00a8
2010-09-02 10:08:41 +00:00
shaneh
659503a18d Fix a few typos. Update evidence marks.
FossilOrigin-Name: c90a68b77e03bb351a7781f1b9dea38f5f571dcf
2010-09-02 04:30:19 +00:00
dan
06bfd36a2d Add tests to quota.test.
FossilOrigin-Name: ec9af6ebd49505c4e5f90fb6450c71946cdc7291
2010-09-01 18:00:09 +00:00
dan
9fc7702c4f Call quota callback destructors from within sqlite3_quota_shutdown().
FossilOrigin-Name: fb80c6f3de73ed832faaeb8c4d83e1354f132b39
2010-09-01 16:19:57 +00:00
drh
3d3e60e481 Fix the TCL interface to test_quota.c so that it works with empty callback
scripts.

FossilOrigin-Name: 19e95f63359589766da673aac99d19a355a92678
2010-09-01 15:11:38 +00:00
drh
61cc423aa3 Make all private routines in test_quota.c begin with "quota".
Fix a test_quota.c segfault when setting a zero-quota.

FossilOrigin-Name: c0d0fc3a1cca7ee28db8add745c71baf0545776c
2010-09-01 14:45:16 +00:00
drh
ef9659babd Add the sqlite3_quota_dump test command. Add a destructor argument on
the sqlite3_quota_set() interface.

FossilOrigin-Name: 7a624b5ae2abff21bcbbb34af88d1c7656f3b729
2010-09-01 14:35:48 +00:00
dan
8cf35eb449 Add file test_quota.c, demonstrating how file-system quotas may be implemented as a VFS wrapper.
FossilOrigin-Name: 383eb87bbf560b20682dd5be0e18ddadf762f415
2010-09-01 11:40:05 +00:00
dan
c311feec55 Do not clear the internal "schema has changed" flag when performing a savepoint rollback. The schema changes may not have taken place within the savepoint being rolled back.
FossilOrigin-Name: c2a84430d3b6bb53b19af9294973575178290f93
2010-08-31 16:25:19 +00:00
dan
ab4f076e7a Fix a problem in pagerfault.test uncovered by the previous change.
FossilOrigin-Name: b6719ce32892a38b9b3dff07decdd6e94c01b3e2
2010-08-30 16:15:54 +00:00
dan
7bddb7550b Add tests (and associated fixes) to restore coverage of rtree.c.
FossilOrigin-Name: b06f4695bdab244d9c764c082cd434a764dc5c29
2010-08-30 15:43:45 +00:00
drh
75c014c321 Remove the sqlite3BtreeFactor() wrapper routine. All modules now call
sqlite3BtreeOpen() directly.

FossilOrigin-Name: 0900e35348f4b9bf327d6ae2884c4ddbb6345d8d
2010-08-30 15:02:28 +00:00
dan
635a606160 Fix problem with func3.test.
FossilOrigin-Name: aec52959d047d7c7b280319a8c84dc009d2cbf91
2010-08-28 19:09:29 +00:00
dan
d2199f0f8d Add the sqlite3_create_function_v2() API, a version of create_function that allows a destructor to be specified.
FossilOrigin-Name: 9a724dfbe822c77e76721abe3443c9cb018bb2e2
2010-08-27 17:48:52 +00:00
drh
badc980afa Refactor the implementation of the scratch memory allocator. Add the
SQLITE_TESTCTRL_SCRATCHMALLOC interface to facilitate testing.

FossilOrigin-Name: a3475ddfbe4526e6e0b334fd1376ee7c31508b80
2010-08-27 17:16:44 +00:00
drh
50d1b5f363 Remove unnecessary code from malloc.c. Enhance pcache1.c so that is tries
to reuse existing pages, rather than create new pages, when SQLite is under
memory pressure.  "Memory pressure" means that SQLITE_CONFIG_PAGECACHE memory
is nearly exhausted or sqlite3_soft_heap_limit() has been reached.

FossilOrigin-Name: 51049479a8577e03cc353f71f6e13a10c8323d91
2010-08-27 12:21:06 +00:00
dan
48d9e01e36 Further tests for CAST in e_expr.test.
FossilOrigin-Name: 9616df8c47ababc2d148f0ab6286efa84bd990fb
2010-08-27 11:19:55 +00:00
dan
51f3a50556 Add tests for CAST expressions to e_expr.test. More to come.
FossilOrigin-Name: ba6119d1e9300de9ce7448cfa0acd579e8e69e41
2010-08-26 19:05:23 +00:00
dan
897230eb7a Fix a couple of memory leaks in r-tree that can occur following an OOM condition.
FossilOrigin-Name: 1975a27cdec09e1dad4ca8281a87dd7754c02c3e
2010-08-26 14:15:37 +00:00
dan
2bf19178f7 Improve coverage of rtree.c some more.
FossilOrigin-Name: bee1959dde19ebec20a7ffcb732aee0c8bb2e67d
2010-08-26 07:59:10 +00:00
drh
4c0f1649ac Disable the legacy "sqlite" command in the TCL interface. Provide only
the "sqlite3" command.

FossilOrigin-Name: 909b3d8862aeae04611969f5fc27d32a82026767
2010-08-25 19:39:19 +00:00
shaneh
9091f775a8 Changes to support building with SQLITE_OMIT_WAL.
FossilOrigin-Name: d1ed743b6ed07ad0ee7d466932c5a83caa9489ee
2010-08-24 18:35:12 +00:00
dan
a235d0ca63 Fixes to allow fts3 tables to be renamed mid-transaction.
FossilOrigin-Name: d1c875320a045c3938c765ceb543dfba1a0ecf0b
2010-08-24 16:59:47 +00:00
dan
eb385b4093 Add tests to e_expr.test.
FossilOrigin-Name: 5c1c694ee1b3b71e20089412f6cba1847dc7f958
2010-08-24 13:11:52 +00:00