drh
c807542bcf
Documentation updates: Describe recursion capabilities for the various
...
callbacks. (CVS 5688)
FossilOrigin-Name: edd80811d702bc0d7a25199d193c04ea057df4de
2008-09-10 13:09:23 +00:00
danielk1977
38816ecf99
Avoid deleting a file while it is still open in corrupt2.test. Not all platforms support this. (CVS 5687)
...
FossilOrigin-Name: 099adfd31167a78d803e2992e5f50cf4e292dd43
2008-09-10 11:28:37 +00:00
danielk1977
f8b10a855e
Fix some test script details so that the test suite runs with an SQLITE_DEFAULT_AUTOVACUUM=2 build. (CVS 5686)
...
FossilOrigin-Name: 300a64b725a111ee66e38de099314f03b064c6eb
2008-09-10 10:57:27 +00:00
danielk1977
f2fb044bca
Add fuzz3.test. For testing the library's response to corrupted database files. (CVS 5685)
...
FossilOrigin-Name: 7fd4dd95791974b0ef6cf30a186b32df25ee2211
2008-09-09 18:28:06 +00:00
drh
e3602be8fd
Calling sqlite3_create_function with nArg==(-1) does not override prior
...
calls on the same function name with nArg>=0. Ticket #3345 . Add the
new -argcount option to the "function" method in the TCL interface. (CVS 5684)
FossilOrigin-Name: 5aa5b8044a14f59559c1839dc0799b0d2f990809
2008-09-09 12:31:33 +00:00
danielk1977
4d60af9b0b
Fix a C++ism in pager.c (variable useAtomicWrite not declard at the top of its scope). (CVS 5683)
...
FossilOrigin-Name: a6dee85b823355cb381163c93c8366aa4395ae6a
2008-09-08 15:35:06 +00:00
danielk1977
b9134e3e84
Fix a bug in r-tree related to internal nodes with one or more dimensions of size zero. Ticket #3363 . (CVS 5682)
...
FossilOrigin-Name: 8b600ed083d48784df4b1da1320a01bebbf233d7
2008-09-08 11:07:03 +00:00
danielk1977
ff9b2e75b4
If the 'rootpage' column of the sqlite_master table contains a NULL value, return SQLITE_CORRUPT to the caller. (CVS 5681)
...
FossilOrigin-Name: a7b7b126e9e9b0cd2d68643d8dff321cf41ce2ee
2008-09-08 09:06:18 +00:00
danielk1977
1c82665040
Add header file sqliteicu.h to the ICU extension. This is analogous to the rtree.h and fts3.h headers used by other extensions to declare their entry points. Fix for ticket #3361 . (CVS 5680)
...
FossilOrigin-Name: 79364b963b348d5433da737b4e21e97952882389
2008-09-08 08:08:09 +00:00
danielk1977
fdd8e5bab8
Deallocate a temp register allocated by codeEqualityTerm() in where.c. If it is not deallocated, its value may be reused by the column-cache mechanism. However, by the time it is used, the value may have been clobbered by a sub-routine that also uses the same temp register. Fix for #3357 . (CVS 5679)
...
FossilOrigin-Name: 7c0f638ef3d7ff9156f07d6fb01448453ffcf5ac
2008-09-06 14:19:11 +00:00
danielk1977
f7cbfae96a
Change pcache.test so that it works if sqlite is configured to create auto-vacuum databases by default. (CVS 5678)
...
FossilOrigin-Name: 55e677569ec131c388841f6f453291f737738076
2008-09-05 05:29:08 +00:00
danielk1977
518002e4ba
Fix a problem in btree.c preventing an OOM error from being propagated up to the caller. (CVS 5677)
...
FossilOrigin-Name: 0b8ee83f2ebadab099ccd6490f6995949dafdd6f
2008-09-05 05:02:46 +00:00
danielk1977
0a732f59b0
Add support for the SQLITE_THREADSAFE=2 and SQLITE_DEFAULT_MEMSTATUS compilation options. (CVS 5676)
...
FossilOrigin-Name: 85c2a58901338c1c4652c2cbee51e5f48d289191
2008-09-04 17:17:38 +00:00
shane
145834a44f
Missing implementation for sqlite3TransferBindings(). (CVS 5675)
...
FossilOrigin-Name: 56d618957571f65e88375aad34a6e7dcf22508e1
2008-09-04 12:03:42 +00:00
danielk1977
73245a7818
If SQLITE_ENABLE_LOCKING_STYLE is defined, have the os_unix.c module offer the following extra VFS implementations for explicitly selecting a locking-style: "unix-none", "unix-afp", "unix-posix", "unix-flock" and "unix-dotfile". (CVS 5674)
...
FossilOrigin-Name: 6e8fb64639cc7451005d9f1dd2d0ef62576abbdd
2008-09-04 06:22:25 +00:00
danielk1977
c9e90daf62
Temporarily revert to using sqlite3_transfer_bindings() internally. (CVS 5673)
...
FossilOrigin-Name: 690ff3853b4e46ac7126992c84455237e265fd98
2008-09-04 05:53:44 +00:00
shane
4a27a28635
Modified core to not call deprecated functions sqlite3_memory_alarm() and sqlite3_transfer_bindings() by adding sqlite3MemoryAlarm() and sqlite3TransferBindings(). sqlite3_memory_alarm() and sqlite3_transfer_bindings() are now simple wrappers for the new functions. In prep for adding SQLITE_OMIT_DEPRECATED. (CVS 5672)
...
FossilOrigin-Name: 821c387d159fd86cedb56c1130f0416bf5c65e6c
2008-09-04 04:32:49 +00:00
drh
106cee5498
Work around an issue with the WINSCW compiler. (CVS 5671)
...
FossilOrigin-Name: e333c3f4c3629dba05b58318e2cd0514843e5394
2008-09-03 17:11:16 +00:00
drh
cc91e7f83e
Make the default threading mode multithread (-nomutex) in the TCL interface. (CVS 5670)
...
FossilOrigin-Name: d9e826942673ad048d611c014bfbee39ab5535c8
2008-09-03 01:08:00 +00:00
drh
039963ad33
Add support for SQLITE_OPEN_FULLMUTEX. (CVS 5669)
...
FossilOrigin-Name: f2f361a5e2fb81fb0f99e83ecf8bae9a750723b1
2008-09-03 00:43:15 +00:00
drh
a9625eaeb9
If a rollback fails, mark the database as corrupt. (CVS 5668)
...
FossilOrigin-Name: c8b24bd1be94b6d385e759a2f9e202be066578a0
2008-09-03 00:08:29 +00:00
drh
afacce0a4d
API documentation updates for threading mode. (CVS 5667)
...
FossilOrigin-Name: fa237c14c8551315ea8f239e89a81b7725675c81
2008-09-02 21:35:03 +00:00
danielk1977
23bf0f41ea
Explicitly initialize at least the first field of every struct. This is to work around compilers that don't like the syntax "struct XXX { ... } yyy = {};". (CVS 5666)
...
FossilOrigin-Name: 88bfdc87471e65ac5a262a794b8cdf3e563eb327
2008-09-02 17:52:51 +00:00
danielk1977
95e80d61af
Fix the position of the SQLITE_WSD macro in the declaration of global variable vfsList. (CVS 5665)
...
FossilOrigin-Name: e869446119724b9b1568b1f8e56e9f29ff6d3816
2008-09-02 17:18:51 +00:00
danielk1977
a8f83bfc77
Fine tune the hard-coded values passed to sqlite3_init_wsd(). (CVS 5664)
...
FossilOrigin-Name: af5763eb65baa791a38f7e235624e4f63beac104
2008-09-02 16:22:28 +00:00
danielk1977
a4de4532dd
Add an extra 'const' qualifier to two arrays (in func.c and pragma.c) to ensure that they do not consume space in the data segment of the compiled object files. (CVS 5663)
...
FossilOrigin-Name: 43f757c9f01ccc6e6c7a404fbeb74f825f7a29ca
2008-09-02 15:44:08 +00:00
danielk1977
502b4e00c6
Move the sqlite3SharedCacheEnabled global and the inProgress static variable (function sqlite3_initialize()) into the global sqlite3Config structure. This is required for the OMIT_WSD feature to work on some platforms. (CVS 5662)
...
FossilOrigin-Name: 88c82759946910b5ffdd5febc17356403f986c2e
2008-09-02 14:07:24 +00:00
danielk1977
263ac19474
Add a 'const' to the opcodeProperty array in vdbe.c. (CVS 5661)
...
FossilOrigin-Name: 29c9a80294398a349bc7cf0fb84cd4ef8a9e2f60
2008-09-02 11:05:01 +00:00
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