danielk1977
5c8f858790
Change some more global variables to work with OMIT_WSD. (CVS 5660)
...
FossilOrigin-Name: 46acaf58e11ebe69e4fb5f171d3ee29f056d8e68
2008-09-02 10:22:00 +00:00
danielk1977
5b775295f0
Modify pcache.c to work with OMIT_WSD. (CVS 5659)
...
FossilOrigin-Name: 44def90d1bd4e37ab162e16f83e23d32e86b78ab
2008-09-02 09:38:06 +00:00
drh
78f82d1e6c
Continuing work on adding full support for the SQLITE_OMIT_WSD
...
compile-time option. (CVS 5658)
FossilOrigin-Name: ef26ea5c46d3915d206f8ff7f82a24f4c8955f1f
2008-09-02 00:52:52 +00:00
shane
171fa295c3
Add define for INVALID_FILE_ATTRIBUTES if it is not already defined, as some older Windows compilers do not define it. (CVS 5657)
...
FossilOrigin-Name: e0461f8755daa9f57e056810de9ea347ff8dd986
2008-09-01 22:15:18 +00:00
shane
a8b34b5630
Added (_MSC_VER>1200) to SQLITE_DEPRECATED and SQLITE_EXPERIMENTAL defines since __declspec(deprecated) isn't supported by VC 6 or earlier. Ticket #3347 . (CVS 5656)
...
FossilOrigin-Name: 4bcaed08a1b50aef9f4f8a447a35d8678df92050
2008-09-01 22:06:23 +00:00
shane
fa4e62f3d8
Omit prototype for and calls to sqlite3MaterializeView() if !defined(SQLITE_OMIT_VIEW) && !defined(SQLITE_OMIT_TRIGGER). (CVS 5655)
...
FossilOrigin-Name: 9cf484fc17944ffa14335e391112d82d2390d116
2008-09-01 21:59:42 +00:00
shane
689aa852cb
Converted strcasecmp to sqlite3StrICmp. Test code only. (CVS 5654)
...
FossilOrigin-Name: bdeefe37602f8b0cd7c63a8c1e52de319cc51bea
2008-09-01 20:38:12 +00:00
danielk1977
93ce741ba5
Modify the aBuiltinFunc array in func.c to use the WSD macros. (CVS 5653)
...
FossilOrigin-Name: 846fff5f0902418cfce2915d2ccfe567481a1289
2008-09-01 19:14:02 +00:00
danielk1977
075c23af26
Begin adding support for the SQLITE_OMIT_WSD macro. Some (many) WSD variables still need wrappers added to them. (CVS 5652)
...
FossilOrigin-Name: 573d92abb9adb1c321ebc2fcadcf14374213b093
2008-09-01 18:34:20 +00:00
drh
cb275be4b1
Remove an unused function declaration from a header file. Ticket #3349 . (CVS 5651)
...
FossilOrigin-Name: 7a577428b22918c232815e7998a623dbc47a8d41
2008-09-01 17:23:29 +00:00
drh
588a9a1a1c
Defer deleting Table objects associated with flattened subqueries until
...
all code has been generated, in case some expression node still references
the Table object. Ticket #3346 . (CVS 5650)
FossilOrigin-Name: d04d70336727a0db959c672e6c22cdaa0505dce5
2008-09-01 15:52:10 +00:00
danielk1977
865d4d4290
Have the rtree module set the estimatedCost output variable. Ticket #3312 . (CVS 5649)
...
FossilOrigin-Name: 483932c4e08901a11b7ab671073fd0a048b10d66
2008-09-01 12:46:59 +00:00
shane
f5eccb6925
Changed to used sqlite3_snprintf instead of snprintf (test code only). (CVS 5648)
...
FossilOrigin-Name: d68791e35d13f5ae4befeb0bb5f8ccaf14fd3763
2008-08-31 00:29:08 +00:00
drh
22f1d5f952
Version 3.6.2 (CVS 5647)
...
FossilOrigin-Name: 88c51b9f1579707a8ec394eba61539fabd725e2a
2008-08-30 16:34:19 +00:00
drh
5393b651c6
Run permutation subtests in sorted order. (CVS 5646)
...
FossilOrigin-Name: 4cd1bdf3ce8077e10dcd8ae4fe2df0dd9bb0f56b
2008-08-30 16:07:03 +00:00
danielk1977
c1def3e0af
Add some code to permutations.test to make sure no test file modifies the shared-cache setting. (CVS 5645)
...
FossilOrigin-Name: 8565b7c66525dc7808a2a266deb1a0d995c99917
2008-08-30 13:25:10 +00:00
danielk1977
3dbb0572d7
Make sure thread003.test waits for all spawned threads to finish before continuing. (CVS 5644)
...
FossilOrigin-Name: 87c7e82f54cd446721d553d5c48ca2571b063669
2008-08-30 09:10:16 +00:00
rse
4eb8e1b9f2
remove private declaration of sqlite3_snprintf() in sqliteInt.h as there is already a public declaration in sqlite3.h (CVS 5643)
...
FossilOrigin-Name: 4113e778be7a1e3e7a67583913e137c66d88a190
2008-08-29 18:42:30 +00:00
rse
d07bc4f58e
remove a doubled function declaration (the second just is just two lines below) (CVS 5642)
...
FossilOrigin-Name: e5793110d5e3b8bc4d139fc21f0962ccd48cf10c
2008-08-29 18:40:15 +00:00
danielk1977
8183e339d0
Move a call to sqlite3_mutex_leave() to protect calls to sqlite3StatusAdd() related to scratch (SQLITE_CONFIG_SCRATCH) memory. (CVS 5641)
...
FossilOrigin-Name: 4e011ddf9e483e3f7c7427205e50f7c3e5616790
2008-08-29 17:56:12 +00:00
danielk1977
7a1d17f1d7
Modify tclsqlite.test so that it works reliably with tcl 8.5.4. (CVS 5640)
...
FossilOrigin-Name: 790d329f5d18d361a5d6d34f46c269f8b4057cd9
2008-08-29 15:54:56 +00:00
danielk1977
34c61e68ad
In permutations.test, disable tests that depend on soft-heap-limit functionality when running the memsubsys2 variant. It disables the soft-heap-limit. (CVS 5639)
...
FossilOrigin-Name: 047c7bdb9f37462c462071334f1cb9d3400917db
2008-08-29 12:00:20 +00:00
danielk1977
062d4cb0ae
If a page is made eligible for recycling when more than the configured maximum number of pages are allocated, free it immediately instead of adding it to the LRU list. (CVS 5638)
...
FossilOrigin-Name: 4b12922dcb4547bf3a7276d0542b2e1d12ad338d
2008-08-29 09:10:02 +00:00
drh
8b213899e8
Avoid reevaluating WHERE and ORDER BY expressions that alias terms in the
...
result set. Ticket #3343 . Note that aliased GROUP BY expressions are still
evaluated twice. (CVS 5637)
FossilOrigin-Name: ab0292caa5887cc1bdc0e8c9d3f3502b83975440
2008-08-29 02:14:02 +00:00
danielk1977
3fb120cb9d
Fix ioerr5.test so that it works with the new pcache module. (CVS 5636)
...
FossilOrigin-Name: 83e6a75e7d70b4b01f0892924d7a8a49d5ef6bf2
2008-08-28 18:35:34 +00:00
drh
570f5c7d70
Partial fix for a bug in recovery from xStress failures in pcache. (CVS 5635)
...
FossilOrigin-Name: 44193b92770062271711570d8532fa5af5f5da54
2008-08-28 17:46:18 +00:00
danielk1977
81fa193a66
Avoid using (clock seconds) in thread003.test. It is not available if testfixture is linked to tcl 8.5. (CVS 5634)
...
FossilOrigin-Name: b606263d0868aed267bcec623b9fe4d142099145
2008-08-28 13:55:10 +00:00
danielk1977
3725c3ffa2
Use ckfree() instead of sqlite3_free() to free an allocation made by ckalloc() in test_thread.c (test code only). (CVS 5633)
...
FossilOrigin-Name: 677ac144c8f7e2722fdf05da1431919d6a8bb45f
2008-08-28 13:15:49 +00:00
danielk1977
29e2d6a5e6
Fix mutex related bug in pcache.c to do with handling IO errors. (CVS 5632)
...
FossilOrigin-Name: 5e304fed275137f98be56f475504422d1f5113a4
2008-08-28 11:12:09 +00:00
danielk1977
f599a1994c
Enable the disabled asserts added by (5629). Add extra tests to thread003.test. And the required modifications to pcache.c. (CVS 5631)
...
FossilOrigin-Name: 473c09fac22ed2f56ea86150a60b9f0f2263c889
2008-08-28 10:21:16 +00:00
danielk1977
51d2d03636
Fix a threads/mutex problem in pcache.c. (CVS 5630)
...
FossilOrigin-Name: 1928f15b78eee0fbf0a8ecdbbdd38dbbde2942b8
2008-08-28 08:31:48 +00:00
drh
a85f7e36e8
Miscellaneous cleanup in the new pcache code. (CVS 5629)
...
FossilOrigin-Name: da1777259f53c2e20c7ced06bf6f2a550f0ea0fc
2008-08-28 02:26:07 +00:00
danielk1977
59633aeec2
If any error occurs during sqlite3_open(), move the database handle into "sick" state. When in the sick state the user can use sqlite3_errcode() and sqlite3_errmsg(), but not much else. (CVS 5628)
...
FossilOrigin-Name: ce9c74eaab459ddde213c828e821940f5d6cb354
2008-08-27 19:01:57 +00:00
drh
255538e947
Add the trans2.test script designed to stress statement rollback and
...
no-write optimizations on large transactions with a small cache. (CVS 5627)
FossilOrigin-Name: 39c34e2238c27b2a2f4f0b896126ccbd299114c5
2008-08-27 18:56:36 +00:00
drh
c13148ffc0
Do not mark pages as clean when doing a statement journal rollback. (CVS 5626)
...
FossilOrigin-Name: 9d7722f4f357b96c37f950024f1e7e160e2c1252
2008-08-27 18:03:20 +00:00
danielk1977
468c82bc50
Modifications to malloc5.test to account for the fact that sqlite3_release_memory() no longer reclaims dirty pages. (CVS 5625)
...
FossilOrigin-Name: b01c65b065c62e3dd71e88866a953668b5e2f25f
2008-08-27 16:38:56 +00:00
drh
8af6906348
Clear the $result variable prior to using it in corrupt2.test. (CVS 5624)
...
FossilOrigin-Name: 12f2d24f88e55d170dd7750e7904ff14e84e820e
2008-08-27 16:14:20 +00:00
drh
65aa957a88
In the test logic: load the md5sum() SQL function as a separate
...
autoloaded extension. (CVS 5623)
FossilOrigin-Name: d4438251dd66c4168e09eb421a8c2081228357dd
2008-08-27 15:21:33 +00:00
danielk1977
a1fa00d95f
Use a bitvec object to store the set of pages with the 'always-rollback' property for a transaction. (CVS 5622)
...
FossilOrigin-Name: 9e9325997e11a0368721ed7860f4c37de3502a9b
2008-08-27 15:16:33 +00:00
drh
e5767a33e5
Remove obsolete file: md5.c. This file had been removed years ago. It is
...
unclear how it got back into the repository. (CVS 5621)
FossilOrigin-Name: 45fc70bd9264d5bcd72c97017079ced4aac7729f
2008-08-27 13:31:09 +00:00
danielk1977
4abdfa45db
Remove unreachable branches from pcache.c. (CVS 5620)
...
FossilOrigin-Name: 7de32498b349e046c5c886de255bbdefd6a7e8f7
2008-08-27 09:44:39 +00:00
drh
426c854102
Fix an issue with the permutation test script. (CVS 5619)
...
FossilOrigin-Name: 2e12aa3e078c0da9e418ff1f25a08f05cd03c07d
2008-08-26 23:08:04 +00:00
drh
1f1549f8f3
In the TCL interface, disable the authorizer when during a BEGIN, COMMIT,
...
or ROLLBACK associated with the transaction method. Ticket #3336 . (CVS 5618)
FossilOrigin-Name: 7e1032ab0031ba535f37b6338a3ac81cb1449d76
2008-08-26 21:33:34 +00:00
drh
7426f864ae
All the page_size pragma to change the page size on a new :memory: database,
...
but not a vacuumed :memory: database. Ticket #3335 (CVS 5617)
FossilOrigin-Name: 226a9056783247679fcf442e10807a1f2707f463
2008-08-26 21:07:26 +00:00
danielk1977
29f55ae1e4
Disable some very expensive asserts in pcache.c that are too slow for all.test. (CVS 5616)
...
FossilOrigin-Name: 555dad900fad874099556d44c464ea9f64687ca0
2008-08-26 19:07:59 +00:00
danielk1977
d491e1bfd1
Simplify the pcache module by only recycling clean pages from 'other' caches. This commit causes errors in test files ioerr5.test and malloc5.test because they test recycling dirty pages from other caches. (CVS 5615)
...
FossilOrigin-Name: 9e511e161bcb077450d31fca5dd20c2557f103b3
2008-08-26 18:05:48 +00:00
drh
1a4e3162d9
Implement a "counter" SQL function that can be used to insert a sequence
...
number each row of a result set. Currently in the test harness only, but
a candidate to move into the core. (CVS 5614)
FossilOrigin-Name: c84d46c71233bbf869513f433b1d18cbd7f2a35e
2008-08-26 14:42:14 +00:00
drh
229cf702f0
Do not flatten subqueries where the subquery has a LIMIT and the outer
...
query has a WHERE clause. Ticket #3334 . (CVS 5613)
FossilOrigin-Name: 4995a1d1c9530be9ce647d338169620cd95a72eb
2008-08-26 12:56:14 +00:00
drh
c178ba88a4
Add the SQLITE_OPEN_FULLMUTEX definition to sqlite3.h. It currently is not
...
valid for anything. This is merely to reserve the number. (CVS 5612)
FossilOrigin-Name: 3b6ffb4492b6c43897692c49dcccbfb55963a46c
2008-08-25 21:23:01 +00:00
drh
df81a25abe
Fix obscure permutation test problems. (CVS 5611)
...
FossilOrigin-Name: aa92a1bec3d6bbcc59680ba13fed51ada9249d4c
2008-08-25 19:09:01 +00:00